Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isolation cost/reward #9

Closed
john-cardiff opened this issue Sep 6, 2022 · 1 comment
Closed

Isolation cost/reward #9

john-cardiff opened this issue Sep 6, 2022 · 1 comment
Assignees
Labels
feature_request A feature request fix_version:1.1.0 Fixed in version 1.1.0

Comments

@john-cardiff
Copy link

Blue agents can simply isolate entry nodes and incur the one step cost with no further penalties throughout the episode (or isolate other nodes such as the hvt). The isolation cost should be incurred at each step until the node is reconnected. An example implementation in standard_rewards is shown below.

# cost for actions
action_cost = {
    "reduce_vulnerability": 0.5,
    "restore_node": 1,
    "make_node_safe": 0.5,
    "scan": 0,
    "isolate": 10, # should be less or equal to restore_node cost for a step, so between 0.5 and 1 instead of 10
    "connect": 0,
    "do_nothing": -0.5,
    "add_deceptive_node": 8,
}

# don't count isolation cost twice
reward = -action_cost[blue_action] if blue_action != "isolate" else 0
# while nodes are still isolated include the "isolate" cost
reward += -action_cost["isolate"] * sum(end_isolation.values())
@jamesshort1
Copy link
Collaborator

Added as a new IDT Jira issue (AIDT-63)

Rumbelows pushed a commit that referenced this issue Nov 9, 2022
…yawning-titan-glossary-page-in-the-docs-for-the-yt-community

AIDT-78 - Create a Yawning-Titan glossary page in the docs for the YT community
@ChrisMcCarthyDev ChrisMcCarthyDev added the feature_request A feature request label Dec 2, 2022
@ChrisMcCarthyDev ChrisMcCarthyDev self-assigned this Feb 23, 2023
@ChrisMcCarthyDev ChrisMcCarthyDev added the fix_version:1.1.0 Fixed in version 1.1.0 label Feb 23, 2023
ChrisMcCarthyDev added a commit that referenced this issue Jun 5, 2023
…yawning-titan-glossary-page-in-the-docs-for-the-yt-community

AIDT-78 - Create a Yawning-Titan glossary page in the docs for the YT community
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature_request A feature request fix_version:1.1.0 Fixed in version 1.1.0
Projects
None yet
Development

No branches or pull requests

3 participants