Skip to content

Commit

Permalink
GT: Detecting Best Response #775
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyuwono committed Jun 26, 2023
1 parent 541397d commit db3652d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<mxfile host="Electron" modified="2023-06-26T13:05:39.410Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/21.5.0 Chrome/112.0.5615.204 Electron/24.5.1 Safari/537.36" etag="EpRxF5h63vz-ZEyUGBul" version="21.5.0" type="device">
<mxfile host="Electron" modified="2023-06-26T13:29:12.236Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/21.5.0 Chrome/112.0.5615.204 Electron/24.5.1 Safari/537.36" etag="vN0NcAjVK_dktBUEI7gb" version="21.5.0" type="device">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="4023" dy="2779" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="2336" pageHeight="1654" math="0" shadow="0">
<root>
Expand Down Expand Up @@ -55,7 +55,7 @@
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-740" y="470" />
<mxPoint x="-690" y="470" />
<mxPoint x="-710" y="470" />
</Array>
<mxPoint x="-611.4399999999996" y="534.836" as="sourcePoint" />
</mxGeometry>
Expand Down Expand Up @@ -169,69 +169,72 @@
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-24" value="GTCoalition (GTPlayer)" style="swimlane;fontStyle=3;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=1;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;swimlaneFillColor=#ffffff;gradientColor=#FFFFFF;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="-860" y="500" width="340" height="560" as="geometry">
<mxGeometry x="-900" y="500" width="380" height="586" as="geometry">
<mxRectangle x="230" y="140" width="160" height="26" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-25" value="C_TYPE = &#39;GTCoalition&#39;" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="26" width="340" height="26" as="geometry" />
<mxGeometry y="26" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-104" value="C_NAME = &#39; &#39;" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="52" width="340" height="26" as="geometry" />
<mxGeometry y="52" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-105" value="C_COALITION_STRATEGY = None" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="78" width="340" height="26" as="geometry" />
<mxGeometry y="78" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-106" value="C_COALITION_CONCATENATE = 0" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="104" width="340" height="26" as="geometry" />
<mxCell id="B3U6xe70-WNpAOuPaKyA-110" value="C_COALITION_MEAN = 0" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="104" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-110" value="C_COALITION_MEAN = 1" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="130" width="340" height="26" as="geometry" />
<mxCell id="B3U6xe70-WNpAOuPaKyA-109" value="C_COALITION_SUM = 1" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="130" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-109" value="C_COALITION_SUM = 2" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="156" width="340" height="26" as="geometry" />
<mxCell id="B3U6xe70-WNpAOuPaKyA-107" value="C_COALITION_MIN = 2" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="156" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-107" value="C_COALITION_MIN = 3" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="182" width="340" height="26" as="geometry" />
<mxCell id="B3U6xe70-WNpAOuPaKyA-108" value="C_COALITION_MAX = 3" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="182" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-108" value="C_COALITION_MAX = 4" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="208" width="340" height="26" as="geometry" />
<mxCell id="B3U6xe70-WNpAOuPaKyA-106" value="C_COALITION_CUSTOM = 4" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="208" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-26" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="234" width="340" height="8" as="geometry" />
<mxGeometry y="234" width="380" height="8" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-27" value="__init__( p_name:str = &quot; &quot;,&#xa;               p_coalition_type = None,&#xa;               p_logging = Log.C_LOG_ALL )" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontColor=#000000;strokeColor=none;dashed=1;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="242" width="340" height="58" as="geometry" />
<mxGeometry y="242" width="380" height="58" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-111" value="switch_logging( p_logging )" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="300" width="340" height="26" as="geometry" />
<mxGeometry y="300" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-112" value="set_log_level( p_level )" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="326" width="340" height="26" as="geometry" />
<mxGeometry y="326" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-28" value="add_player( p_player:GTPlayer )" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="352" width="340" height="26" as="geometry" />
<mxGeometry y="352" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-29" value="get_players(): list" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="378" width="340" height="26" as="geometry" />
<mxGeometry y="378" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-30" value="get_player_ids(): list" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="404" width="340" height="26" as="geometry" />
<mxGeometry y="404" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-31" value="get_player( p_player_id ): GTPlayer" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="430" width="340" height="26" as="geometry" />
<mxGeometry y="430" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-114" value="get_coalition_strategy(): int" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="456" width="340" height="26" as="geometry" />
<mxGeometry y="456" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-32" value="set_random_seed( p_seed=None )" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="482" width="340" height="26" as="geometry" />
<mxGeometry y="482" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-115" value="get_strategy_space(): ESpace" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="508" width="340" height="26" as="geometry" />
<mxGeometry y="508" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-33" value="compute_strategy( p_payoff:GTPayoffMatrix ): GTStrategy" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="B3U6xe70-WNpAOuPaKyA-24" vertex="1">
<mxGeometry y="534" width="340" height="26" as="geometry" />
<mxGeometry y="534" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="r4KT35VXYHTNUlkVge_L-2" value="_custom_coalition_strategy( p_payoff:GTPayoffMatrix ): GTStrategy" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontColor=#0000FF;" vertex="1" parent="B3U6xe70-WNpAOuPaKyA-24">
<mxGeometry y="560" width="380" height="26" as="geometry" />
</mxCell>
<mxCell id="B3U6xe70-WNpAOuPaKyA-34" value="GTSolver&#xa;(bf.mt.Task,&#xa;bf.various.ScientificObject)" style="swimlane;fontStyle=3;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=1;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;swimlaneFillColor=#ffffff;gradientColor=#FFFFFF;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="-860" y="1540" width="340" height="402" as="geometry">
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit db3652d

Please sign in to comment.