mparker | 2857a48 | 2009-07-16 21:04:00 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <metaabm:SContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:act="http://metaabm.org/act" xmlns:function="http://metaabm.org/function" xmlns:metaabm="http://metaabm.org/structure" label="Basic Movement Model" ID="basicMovementModel" pluralLabel="Basic Movement Models" description="Most recent version."> |
| 3 | <attributes label="Area Count" ID="areaCount" pluralLabel="Area Counts" description="The number of areas to create." sType="INTEGER"/> |
| 4 | <attributes label="Network Agent Count" ID="networkAgentCount" pluralLabel="Network Agent Counts" description="The number of network agents to create." sType="INTEGER"/> |
| 5 | <attributes label="Basic Movement Agent Count" ID="basicMovementAgentCount" pluralLabel="Basic Movement Agent Counts" description="The number of generate act people to create." sType="INTEGER"/> |
| 6 | <attributes label="Complex Space Agent Count" ID="complexSpaceAgentCount" pluralLabel="Complex Space Agent Counts" description="The number of complex space agents to create." sType="INTEGER"/> |
| 7 | <attributes label="Act Non Movement Person Count" ID="actNonMovementPersonCount" pluralLabel="Act Non Movement Person Counts" description="The number of act non movement persons to create." sType="INTEGER"/> |
| 8 | <attributes label="Basic Movement State Agent Count" ID="basicMovementStateAgentCount" pluralLabel="Basic Movement State Agent Counts" description="The number of basic movement state agents to create." sType="INTEGER"/> |
| 9 | <rootActivity xsi:type="act:AGroup" label="Root Act Group" ID="rootActGroup" pluralLabel="Root Acts"> |
| 10 | <members xsi:type="act:ABuild" label="Build Generated Act Model" ID="buildGeneratedActModel" targets="//@rootActivity/@members[ID='createNetworkAgents'] //@rootActivity/@members[ID='createPerson1'] //@rootActivity/@members[ID='buildAgents'] //@rootActivity/@members[ID='aNetworkBuilder'] //@rootActivity/@members[ID='createBasicMovementStateAgents']" selected="//@rootActivity/@members[ID='buildGeneratedActModel']" agent="/" pluralLabel="Build Generated Act Models"/> |
| 11 | <members xsi:type="act:ACreateAgents" label="Create Network Agents" ID="createNetworkAgents" sources="//@rootActivity/@members[ID='buildGeneratedActModel']" selected="//@rootActivity/@members[ID='buildGeneratedActModel']" agent="//@agents[ID='networkAgent']" agentCount="//@attributes[ID='networkAgentCount']"/> |
| 12 | <members xsi:type="act:ACreateAgents" label="Create Person 1" ID="createPerson1" sources="//@rootActivity/@members[ID='buildGeneratedActModel']" selected="//@rootActivity/@members[ID='buildGeneratedActModel']" agent="//@agents[ID='basicMovementAgent']" agentCount="//@attributes[ID='basicMovementAgentCount']"/> |
| 13 | <members xsi:type="act:ABuildGrid" label="Build Agents" ID="buildAgents" sources="//@rootActivity/@members[ID='buildGeneratedActModel']" selected="//@rootActivity/@members[ID='buildGeneratedActModel']" pluralLabel="Build Agentss" agents="//@agents[ID='basicMovementAgent'] //@agents[ID='networkAgent']" projection="//@projections[ID='grid']" fillAgent="//@agents[ID='basicCell']"/> |
| 14 | <members xsi:type="act:ARule" label="Test Fake" ID="testFake" targets="//@rootActivity/@members[ID='assertFake']" selected="//@rootActivity/@members[ID='testFake']" agent="/" pluralLabel="Test Fakes"/> |
| 15 | <members xsi:type="act:AMethod" label="Assert Fake" ID="assertFake" sources="//@rootActivity/@members[ID='testFake']" selected="//@rootActivity/@members[ID='testFake']" pluralLabel="Assert Fakes" body="assertTrue(true);"/> |
| 16 | <members xsi:type="act:ABuildNetwork" label="A Network Builder" ID="aNetworkBuilder" sources="//@rootActivity/@members[ID='buildGeneratedActModel']" selected="//@rootActivity/@members[ID='buildGeneratedActModel']" pluralLabel="A Network Builders" projection="//@projections[ID='testNetwork']"/> |
| 17 | <members xsi:type="act:ACreateAgents" label="Create Basic Movement State Agents" ID="createBasicMovementStateAgents" sources="//@rootActivity/@members[ID='buildGeneratedActModel']" selected="//@rootActivity/@members[ID='buildGeneratedActModel']" agent="//@agents[ID='basicMovementStateAgent']" agentCount="//@attributes[ID='basicMovementStateAgentCount']"/> |
| 18 | </rootActivity> |
| 19 | <implementation package="org.eclipse.amp.amf.gen.test" className="BasicMovementModel" basePath=""/> |
| 20 | <agents label="Basic Movement Agent" ID="basicMovementAgent" pluralLabel="Generate Act People"> |
| 21 | <attributes label="Vision" ID="vision" pluralLabel="Visions" sType="INTEGER" defaultValue="20"/> |
| 22 | <attributes label="Moving Toward Goal" ID="movingTowardGoal" pluralLabel="Moving Toward Goals" defaultValue="true"/> |
| 23 | <attributes label="Success" ID="success" pluralLabel="Successs"/> |
| 24 | <rootActivity xsi:type="act:AGroup" label="Root Act Group" ID="rootActGroup" pluralLabel="Root Acts"> |
| 25 | <members xsi:type="act:ARule" label="Move To Random Available" ID="moveToRandomAvailable" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='availableCell']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToRandomAvailable']" agent="//@agents[ID='basicMovementAgent']" pluralLabel="Move To Random Availables"/> |
| 26 | <members xsi:type="act:ARule" label="Move To Random No Available Check" ID="moveToRandomNoAvailableCheck" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopyCopyCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToRandomNoAvailableCheck']" agent="//@agents[ID='basicMovementAgent']" space="//@projections[ID='grid']" pluralLabel="Move To Random No Available Checks"/> |
| 27 | <members xsi:type="act:ARule" label="Move To Neighbor" ID="moveToNeighbor" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='neighboringSpace']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToNeighbor']" agent="//@agents[ID='basicMovementAgent']" pluralLabel="Move To Neighbors"/> |
| 28 | <members xsi:type="act:ARule" label="Move To Available Neighbor" ID="moveToAvailableNeighbor" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToAvailableNeighbor']" agent="//@agents[ID='basicMovementAgent']" space="//@projections[ID='grid']" pluralLabel="Move To Available Neighbors"/> |
| 29 | <members xsi:type="act:ARule" label="Move To Nearest Goal" ID="moveToNearestGoal" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityMovingTowardGoal']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToNearestGoal']" agent="//@agents[ID='basicMovementAgent']" space="//@projections[ID='grid']" pluralLabel="Move To Nearest Goals"/> |
| 30 | <members xsi:type="act:ARule" label="Move Toward Nearest Agent" ID="moveTowardNearestAgent" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='otherPerson']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveTowardNearestAgent']" agent="//@agents[ID='basicMovementAgent']" space="//@projections[ID='grid']" pluralLabel="Move Toward Nearest Agents"/> |
| 31 | <members xsi:type="act:ARule" label="Move Toward Nearest Goal" ID="moveTowardNearestGoal" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='selectNearestToward']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveTowardNearestGoal']" agent="//@agents[ID='basicMovementAgent']" space="//@projections[ID='grid']" pluralLabel="Move Toward Nearest Goals"/> |
| 32 | <members xsi:type="act:ARule" label="Move With Evaluate" ID="moveWithEvaluate" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='actPerson1']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveWithEvaluate']" agent="//@agents[ID='basicMovementAgent']" pluralLabel="Move With Evaluates"/> |
| 33 | <members xsi:type="act:ARule" label="Move Twice" ID="moveTwice" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityMovingTowardGoalTwice']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveTwice']" agent="//@agents[ID='basicMovementAgent']" space="//@projections[ID='grid']" pluralLabel="Move Twices"/> |
| 34 | <members xsi:type="act:ARule" label="And With Or Goal" ID="andWithOrGoal" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andOrAgent']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andWithOrGoal']" agent="//@agents[ID='basicMovementAgent']" space="//@projections[ID='grid']" pluralLabel="And With Or Goals"/> |
| 35 | <members xsi:type="act:ARule" label="And With And Goal" ID="andWithAndGoal" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andAndAgent']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andWithAndGoal']" agent="//@agents[ID='basicMovementAgent']" pluralLabel="And With And Goals"/> |
| 36 | <members xsi:type="act:ARule" label="Move To Goal Within" ID="moveToGoalWithin" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='areaWithGoal']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToGoalWithin']" agent="//@agents[ID='basicMovementAgent']" space="//@projections[ID='grid']" pluralLabel="Move To Goal Withins"/> |
| 37 | <members xsi:type="act:ARule" label="Set Condition Neighbor" ID="setConditionNeighbor" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgent']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setConditionNeighbor']" agent="//@agents[ID='basicMovementAgent']" space="//@projections[ID='grid']" pluralLabel="Set Condition Neighbors"/> |
| 38 | <members xsi:type="act:ARule" label="Set Condition State Agent Neighbor" ID="setConditionStateAgentNeighbor" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateConditionNeighbor']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setConditionStateAgentNeighbor']" agent="//@agents[ID='basicMovementAgent']" space="//@projections[ID='grid']" pluralLabel="Set Condition State Agent Neighbors"/> |
| 39 | <members xsi:type="act:AQuery" label="Identity Moving Toward Goal?" ID="identityMovingTowardGoal" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToNearestGoal']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='goalinArea']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToNearestGoal']"> |
| 40 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToNearestGoal']" value="//@agents[ID='basicMovementAgent']/@attributes[ID='movingTowardGoal']"/> |
| 41 | <function xsi:type="function:FLogicalOperator" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='operators']/@subs[ID='logicalOperators']/@functions[ID='identity']"/> |
| 42 | </members> |
| 43 | <members xsi:type="act:ASelect" label="Goal in Area" ID="goalinArea" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityMovingTowardGoal']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='isNearestCopy'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityNearGoal']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToNearestGoal']" agent="//@agents[ID='basicCell']" space="//@projections[ID='grid']"/> |
| 44 | <members xsi:type="act:ASelect" label="And Or Agent" ID="andOrAgent" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andWithOrGoal']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aOGoal'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aOGoal2'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aONearest']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andWithOrGoal']" agent="//@agents[ID='basicCell']" space="//@projections[ID='grid']"/> |
| 45 | <members xsi:type="act:AQuery" label="AO Goal" ID="aOGoal" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andOrAgent']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aOGoalorGoal2']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andOrAgent']"> |
| 46 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andOrAgent']" value="//@agents[ID='basicCell']/@attributes[ID='goal']"/> |
| 47 | <function xsi:type="function:FLogicalOperator" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='operators']/@subs[ID='logicalOperators']/@functions[ID='identity']"/> |
| 48 | </members> |
| 49 | <members xsi:type="act:AAny" label="AO Goal or Goal 2" ID="aOGoalorGoal2" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aOGoal'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aOGoal2']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aOGoalOrGoal2AndNearest']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andOrAgent']"/> |
| 50 | <members xsi:type="act:AMove" label="AO Move" ID="aOMove" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aOGoalOrGoal2AndNearest']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andWithOrGoal']" destination="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andOrAgent']"/> |
| 51 | <members xsi:type="act:ASelect" label="Select Nearest Toward" ID="selectNearestToward" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveTowardNearestGoal']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityNearGoalCopyCopy'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='isNearest'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='spaceToward']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveTowardNearestGoal']" agent="//@agents[ID='basicCell']" space="//@projections[ID='grid']"/> |
| 52 | <members xsi:type="act:AQuery" label="Identity Near Goal? Copy Copy" ID="identityNearGoalCopyCopy" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='selectNearestToward']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityNearGoalCopyCopyAndIsNearestAndSpaceToward']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='selectNearestToward']"> |
| 53 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='selectNearestToward']" value="//@agents[ID='basicCell']/@attributes[ID='goal2']"/> |
| 54 | <function xsi:type="function:FLogicalOperator" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='operators']/@subs[ID='logicalOperators']/@functions[ID='identity']"/> |
| 55 | </members> |
| 56 | <members xsi:type="act:AAll" label="Identity Near Goal? Copy Copy & Is Nearest () & Space Toward" ID="identityNearGoalCopyCopyAndIsNearestAndSpaceToward" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityNearGoalCopyCopy'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='isNearest'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='spaceToward']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aMoveCopyCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='selectNearestToward']"/> |
| 57 | <members xsi:type="act:AQuery" label="Is Nearest ()" ID="isNearest" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='selectNearestToward']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityNearGoalCopyCopyAndIsNearestAndSpaceToward']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='selectNearestToward']"> |
| 58 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='nearest']"/> |
| 59 | </members> |
| 60 | <members xsi:type="act:AMove" label="AMove Copy Copy" ID="aMoveCopyCopy" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityNearGoalCopyCopyAndIsNearestAndSpaceToward']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveTowardNearestGoal']" destination="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='selectNearestToward']"/> |
| 61 | <members xsi:type="act:AQuery" label="Is Nearest () Copy" ID="isNearestCopy" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='goalinArea']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityNearGoalAndIsNearestCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='goalinArea']"> |
| 62 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='nearest']"/> |
| 63 | </members> |
| 64 | <members xsi:type="act:AAll" label="Identity Near Goal? & Is Nearest () Copy" ID="identityNearGoalAndIsNearestCopy" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='isNearestCopy'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityNearGoal']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aMoveCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='goalinArea']"/> |
| 65 | <members xsi:type="act:AMove" label="AMove Copy" ID="aMoveCopy" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityNearGoalAndIsNearestCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToNearestGoal']" destination="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='goalinArea']"/> |
| 66 | <members xsi:type="act:AQuery" label="AO Nearest" ID="aONearest" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andOrAgent']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aOGoalOrGoal2AndNearest']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andOrAgent']"> |
| 67 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='nearest']"/> |
| 68 | </members> |
| 69 | <members xsi:type="act:AQuery" label="AO Goal 2" ID="aOGoal2" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andOrAgent']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aOGoalorGoal2']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andOrAgent']"> |
| 70 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andOrAgent']" value="//@agents[ID='basicCell']/@attributes[ID='goal2']"/> |
| 71 | <function xsi:type="function:FLogicalOperator" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='operators']/@subs[ID='logicalOperators']/@functions[ID='identity']"/> |
| 72 | </members> |
| 73 | <members xsi:type="act:ASelect" label="Area With Goal" ID="areaWithGoal" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToGoalWithin']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityGoalCopy'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='within_Vision_']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToGoalWithin']" agent="//@agents[ID='basicCell']" space="//@projections[ID='grid']"/> |
| 74 | <members xsi:type="act:AQuery" label="Identity Goal? Copy" ID="identityGoalCopy" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='areaWithGoal']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityGoalCopyAndWithin_Vision_AndAreaWithGoal']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='areaWithGoal']"> |
| 75 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='areaWithGoal']" value="//@agents[ID='basicCell']/@attributes[ID='goal']"/> |
| 76 | <function xsi:type="function:FLogicalOperator" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='operators']/@subs[ID='logicalOperators']/@functions[ID='identity']"/> |
| 77 | </members> |
| 78 | <members xsi:type="act:AMove" label="Move In Vision" ID="moveInVision" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityGoalCopyAndWithin_Vision_AndAreaWithGoal']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToGoalWithin']" destination="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='areaWithGoal']"/> |
| 79 | <members xsi:type="act:AQuery" label="Within(Vision)?" ID="within_Vision_" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='areaWithGoal']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityGoalCopyAndWithin_Vision_AndAreaWithGoal']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='areaWithGoal']"> |
| 80 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToGoalWithin']" value="//@agents[ID='basicMovementAgent']/@attributes[ID='vision']"/> |
| 81 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='within']"/> |
| 82 | </members> |
| 83 | <members xsi:type="act:AAll" label="Identity Goal? Copy & Within(Vision)? & Area With Goal" ID="identityGoalCopyAndWithin_Vision_AndAreaWithGoal" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='within_Vision_'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityGoalCopy']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveInVision']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='areaWithGoal']"/> |
| 84 | <members xsi:type="act:ASelect" label="Other Person" ID="otherPerson" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveTowardNearestAgent']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='spaceNearest'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='spaceTowardCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveTowardNearestAgent']" agent="//@agents[ID='basicMovementAgent']" space="//@projections[ID='grid']"/> |
| 85 | <members xsi:type="act:AQuery" label="Space Nearest " ID="spaceNearest" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='otherPerson']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='spaceNearestAndOtherPersonAndSpaceTowardCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='otherPerson']"> |
| 86 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='nearest']"/> |
| 87 | </members> |
| 88 | <members xsi:type="act:AMove" label="Move to Person 1 in Territory" ID="movetoPerson1inTerritory" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='spaceNearestAndOtherPersonAndSpaceTowardCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveTowardNearestAgent']" destination="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='otherPerson']"/> |
| 89 | <members xsi:type="act:AAll" label="AO Goal Or Goal 2 And Nearest" ID="aOGoalOrGoal2AndNearest" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aONearest'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aOGoalorGoal2']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aOMove']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andOrAgent']"/> |
| 90 | <members xsi:type="act:AQuery" label="Space Toward" ID="spaceToward" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='selectNearestToward']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityNearGoalCopyCopyAndIsNearestAndSpaceToward']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='selectNearestToward']"> |
| 91 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='toward']"/> |
| 92 | </members> |
| 93 | <members xsi:type="act:ASelect" label="Neighboring Space" ID="neighboringSpace" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToNeighbor']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='spaceNeighbor']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToNeighbor']" agent="//@agents[ID='basicCell']" space="//@projections[ID='grid']"/> |
| 94 | <members xsi:type="act:AMove" label="Move to Person 1 in Territory Copy" ID="movetoPerson1inTerritoryCopy" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='spaceNeighbor']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToNeighbor']" destination="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='neighboringSpace']"/> |
| 95 | <members xsi:type="act:AQuery" label="Space Neighbor" ID="spaceNeighbor" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='neighboringSpace']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='movetoPerson1inTerritoryCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='neighboringSpace']"> |
| 96 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='neighbor']"/> |
| 97 | </members> |
| 98 | <members xsi:type="act:AQuery" label="Space Toward Copy" ID="spaceTowardCopy" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='otherPerson']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='spaceNearestAndOtherPersonAndSpaceTowardCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='otherPerson']"> |
| 99 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='toward']"/> |
| 100 | </members> |
| 101 | <members xsi:type="act:AAll" label="Space Nearest & Other Person & Space Toward Copy" ID="spaceNearestAndOtherPersonAndSpaceTowardCopy" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='spaceTowardCopy'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='spaceNearest']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='movetoPerson1inTerritory']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='otherPerson']"/> |
| 102 | <members xsi:type="act:AQuery" label="Identity Near Goal" ID="identityNearGoal" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='goalinArea']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityNearGoalAndIsNearestCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='goalinArea']"> |
| 103 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='goalinArea']" value="//@agents[ID='basicCell']/@attributes[ID='goal2']"/> |
| 104 | <function xsi:type="function:FLogicalOperator" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='operators']/@subs[ID='logicalOperators']/@functions[ID='identity']"/> |
| 105 | </members> |
| 106 | <members xsi:type="act:AQuery" label="Identity Moving Toward Goal Twice" ID="identityMovingTowardGoalTwice" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveTwice']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='goalinArea2']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveTwice']"> |
| 107 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveTwice']" value="//@agents[ID='networkAgent']/@attributes[ID='movingTowardGoal']"/> |
| 108 | <function xsi:type="function:FLogicalOperator" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='operators']/@subs[ID='logicalOperators']/@functions[ID='identity']"/> |
| 109 | </members> |
| 110 | <members xsi:type="act:ASelect" label="Act Person 1" ID="actPerson1" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveWithEvaluate']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='totalVision'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='actPerson1NeighborQuery']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveWithEvaluate']" agent="//@agents[ID='basicMovementAgent']" space="//@projections[ID='grid']"/> |
| 111 | <members xsi:type="act:AEvaluate" label="Total Vision" ID="totalVision" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='actPerson1']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='visionoverOne']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='actPerson1']"> |
| 112 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveWithEvaluate']" value="//@agents[ID='basicMovementAgent']/@attributes[ID='vision']"/> |
| 113 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='actPerson1']" value="//@agents[ID='basicMovementAgent']/@attributes[ID='vision']"/> |
| 114 | <function xsi:type="function:FOperator" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='operators']/@subs[ID='numericOperators']/@functions[ID='add']"/> |
| 115 | </members> |
| 116 | <members xsi:type="act:AQuery" label="Act Person 1: Neighbor() Query" ID="actPerson1NeighborQuery" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='actPerson1']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='actPerson1_VisionoverOneAndNeighborQuery_']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='actPerson1']"> |
| 117 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='neighbor']"/> |
| 118 | </members> |
| 119 | <members xsi:type="act:AQuery" label="Vision over One" ID="visionoverOne" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='totalVision']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='actPerson1_VisionoverOneAndNeighborQuery_']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='actPerson1']"> |
| 120 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='actPerson1']" value="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='totalVision']"/> |
| 121 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='actPerson1']" value="//@attributes[ID='areaCount']"/> |
| 122 | <function xsi:type="function:FLogicalOperator" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='operators']/@subs[ID='logicalOperators']/@functions[ID='greater']"/> |
| 123 | </members> |
| 124 | <members xsi:type="act:AAll" label="Act Person 1 (Vision over One & Neighbor() Query)" ID="actPerson1_VisionoverOneAndNeighborQuery_" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='visionoverOne'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='actPerson1NeighborQuery']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='movetoActPerson1inTerritory']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='actPerson1']"/> |
| 125 | <members xsi:type="act:AMove" label="Move to Act Person 1 in Territory" ID="movetoActPerson1inTerritory" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='actPerson1_VisionoverOneAndNeighborQuery_']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveWithEvaluate']" destination="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='actPerson1']"/> |
| 126 | <members xsi:type="act:ASelect" label="And And Agent" ID="andAndAgent" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andWithAndGoal']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aAGoal'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aAGoal2'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aANearest']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andWithAndGoal']" agent="//@agents[ID='basicCell']" space="//@projections[ID='grid']"/> |
| 127 | <members xsi:type="act:AQuery" label="AA Goal" ID="aAGoal" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andAndAgent']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aAGoalAndGoal2']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andAndAgent']"> |
| 128 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andAndAgent']" value="//@agents[ID='basicCell']/@attributes[ID='goal']"/> |
| 129 | <function xsi:type="function:FLogicalOperator" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='operators']/@subs[ID='logicalOperators']/@functions[ID='identity']"/> |
| 130 | </members> |
| 131 | <members xsi:type="act:AQuery" label="AA Goal 2" ID="aAGoal2" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andAndAgent']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aAGoalAndGoal2']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andAndAgent']"> |
| 132 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andAndAgent']" value="//@agents[ID='basicCell']/@attributes[ID='goal2']"/> |
| 133 | <function xsi:type="function:FLogicalOperator" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='operators']/@subs[ID='logicalOperators']/@functions[ID='identity']"/> |
| 134 | </members> |
| 135 | <members xsi:type="act:AAll" label="AA Goal And Goal 2" ID="aAGoalAndGoal2" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aAGoal'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aAGoal2']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aAGoalAndGoal2AndNearest']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andAndAgent']"/> |
| 136 | <members xsi:type="act:AAll" label="AA Goal And Goal 2 And Nearest" ID="aAGoalAndGoal2AndNearest" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aANearest'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aAGoalAndGoal2']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aAMove']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andAndAgent']"/> |
| 137 | <members xsi:type="act:AMove" label="AA Move" ID="aAMove" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aAGoalAndGoal2AndNearest']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andWithAndGoal']" destination="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andAndAgent']"/> |
| 138 | <members xsi:type="act:AQuery" label="AA Nearest" ID="aANearest" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andAndAgent']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='aAGoalAndGoal2AndNearest']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='andAndAgent']"> |
| 139 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='nearest']"/> |
| 140 | </members> |
| 141 | <members xsi:type="act:ASelect" label="Basic Movement Agent" ID="basicMovementAgent" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setConditionNeighbor']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentNeighborQuery'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentIdentitySuccessQuery']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setConditionNeighbor']" agent="//@agents[ID='basicMovementAgent']" space="//@projections[ID='grid']"/> |
| 142 | <members xsi:type="act:AQuery" label="Basic Movement Agent: Neighbor() Query" ID="basicMovementAgentNeighborQuery" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgent']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgent_NeighborQueryAndIdentitySuccessQuery_']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgent']"> |
| 143 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='neighbor']"/> |
| 144 | </members> |
| 145 | <members xsi:type="act:AQuery" label="Basic Movement Agent: Identity Success Query" ID="basicMovementAgentIdentitySuccessQuery" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgent']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgent_NeighborQueryAndIdentitySuccessQuery_']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgent']"> |
| 146 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgent']" value="//@agents[ID='basicMovementAgent']/@attributes[ID='success']"/> |
| 147 | <function xsi:type="function:FLogicalOperator" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='operators']/@subs[ID='logicalOperators']/@functions[ID='identity']"/> |
| 148 | </members> |
| 149 | <members xsi:type="act:AAll" label="Basic Movement Agent (Neighbor() Query & Identity Success Query)" ID="basicMovementAgent_NeighborQueryAndIdentitySuccessQuery_" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentNeighborQuery'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentIdentitySuccessQuery']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setSuccessToTrueCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgent']"/> |
| 150 | <members xsi:type="act:ASet" label="Set Success To True Copy" ID="setSuccessToTrueCopy" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgent_NeighborQueryAndIdentitySuccessQuery_']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgent']" attribute="//@agents[ID='basicMovementAgent']/@attributes[ID='success']"> |
| 151 | <parameter xsi:type="metaabm:SAttribute" href="http://metaabm.org/core_library.metaabm#//@attributes[ID='true']"/> |
| 152 | </members> |
| 153 | <members xsi:type="act:AQuery" label="Set State Condition Neighbor: Within(Vision) Query" ID="setStateConditionNeighborWithin_Vision_Query" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateConditionNeighbor']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateConditionNeighbor_Within_Vision_QueryAndStateIdenticalOption1Query_']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateConditionNeighbor']"> |
| 154 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setConditionStateAgentNeighbor']" value="//@agents[ID='basicMovementAgent']/@attributes[ID='vision']"/> |
| 155 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='within']"/> |
| 156 | </members> |
| 157 | <members xsi:type="act:AQuery" label="Set State Condition Neighbor: State Identical Option 1 Query" ID="setStateConditionNeighborStateIdenticalOption1Query" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateConditionNeighbor']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateConditionNeighbor_Within_Vision_QueryAndStateIdenticalOption1Query_']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateConditionNeighbor']"> |
| 158 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateConditionNeighbor']" value="//@agents[ID='basicMovementStateAgent']/@attributes[ID='state']"/> |
| 159 | <inputs selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateConditionNeighbor']" value="//@agents[ID='basicMovementStateAgent']/@attributes[ID='state']/@options.0"/> |
| 160 | <function xsi:type="function:FLogicalOperator" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='operators']/@subs[ID='logicalOperators']/@functions[ID='identical']"/> |
| 161 | </members> |
| 162 | <members xsi:type="act:AAll" label="Set State Condition Neighbor (Within(Vision) Query & State Identical Option 1 Query)" ID="setStateConditionNeighbor_Within_Vision_QueryAndStateIdenticalOption1Query_" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateConditionNeighborWithin_Vision_Query'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateConditionNeighborStateIdenticalOption1Query']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateToOption2']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateConditionNeighbor']"/> |
| 163 | <members xsi:type="act:ASet" label="Set State To Option 2" ID="setStateToOption2" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateConditionNeighbor_Within_Vision_QueryAndStateIdenticalOption1Query_']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateConditionNeighbor']" attribute="//@agents[ID='basicMovementStateAgent']/@attributes[ID='state']" parameter="//@agents[ID='basicMovementStateAgent']/@attributes[ID='state']/@options.1"/> |
| 164 | <members xsi:type="act:ASelect" label="Set State Condition Neighbor" ID="setStateConditionNeighbor" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setConditionStateAgentNeighbor']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateConditionNeighborWithin_Vision_Query'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setStateConditionNeighborStateIdenticalOption1Query']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setConditionStateAgentNeighbor']" agent="//@agents[ID='basicMovementStateAgent']" space="//@projections[ID='grid']"/> |
| 165 | <members xsi:type="act:ASelect" label="Basic Movement Agent Copy" ID="basicMovementAgentCopy" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToAvailableNeighbor']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopyNeighborQuery'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopy_Unspecified_QueryCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToAvailableNeighbor']" agent="//@agents[ID='basicCell']" space="//@projections[ID='grid']"/> |
| 166 | <members xsi:type="act:AQuery" label="Basic Movement Agent Copy: Neighbor() Query" ID="basicMovementAgentCopyNeighborQuery" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopy']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopy_NeighborQueryAnd_Unspecified_QueryCopy_']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopy']"> |
| 167 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='neighbor']"/> |
| 168 | </members> |
| 169 | <members xsi:type="act:AQuery" label="Basic Movement Agent Copy: [Unspecified]() Query Copy" ID="basicMovementAgentCopy_Unspecified_QueryCopy" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopy']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopy_NeighborQueryAnd_Unspecified_QueryCopy_']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopy']"> |
| 170 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='available']"/> |
| 171 | </members> |
| 172 | <members xsi:type="act:AAll" label="Basic Movement Agent Copy (Neighbor() Query & [Unspecified]() Query Copy)" ID="basicMovementAgentCopy_NeighborQueryAnd_Unspecified_QueryCopy_" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopyNeighborQuery'] //@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopy_Unspecified_QueryCopy']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='movetoBasicMovementAgentinGrid']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopy']"/> |
| 173 | <members xsi:type="act:AMove" label="Move to Basic Movement Agent in Grid" ID="movetoBasicMovementAgentinGrid" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopy_NeighborQueryAnd_Unspecified_QueryCopy_']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToAvailableNeighbor']" destination="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopy']"/> |
| 174 | <members xsi:type="act:ASelect" label="Available Cell" ID="availableCell" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToRandomAvailable']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='availableCellAvailableQuery']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToRandomAvailable']" agent="//@agents[ID='basicCell']" space="//@projections[ID='grid']"/> |
| 175 | <members xsi:type="act:AQuery" label="Available Cell: Available() Query" ID="availableCellAvailableQuery" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='availableCell']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='movetoBasicMovementAgentinGridCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='availableCell']"> |
| 176 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='available']"/> |
| 177 | </members> |
| 178 | <members xsi:type="act:AMove" label="Move to Basic Movement Agent in Grid Copy" ID="movetoBasicMovementAgentinGridCopy" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='availableCellAvailableQuery']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToRandomAvailable']" destination="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='availableCell']"/> |
| 179 | <members xsi:type="act:ASelect" label="Basic Movement Agent Copy Copy Copy" ID="basicMovementAgentCopyCopyCopy" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToRandomNoAvailableCheck']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveBasicMovementAgent']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToRandomNoAvailableCheck']" agent="//@agents[ID='basicMovementAgent']" space="//@projections[ID='grid']"/> |
| 180 | <members xsi:type="act:AMove" label="Move Basic Movement Agent" ID="moveBasicMovementAgent" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopyCopyCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveToRandomNoAvailableCheck']" destination="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopyCopyCopy']"/> |
| 181 | <members xsi:type="act:ARule" label="Set Random Neighbor Value" ID="setRandomNeighborValue" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopyCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setRandomNeighborValue']" agent="//@agents[ID='basicMovementAgent']" pluralLabel="Set Random Neighbor Values"/> |
| 182 | <members xsi:type="act:ASelect" label="Basic Movement Agent Copy Copy" ID="basicMovementAgentCopyCopy" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setRandomNeighborValue']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopyCopyNeighborQuery']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setRandomNeighborValue']" agent="//@agents[ID='basicMovementAgent']" space="//@projections[ID='grid']"/> |
| 183 | <members xsi:type="act:AQuery" label="Basic Movement Agent Copy Copy: Neighbor() Query" ID="basicMovementAgentCopyCopyNeighborQuery" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopyCopy']" targets="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='setSuccessToTrue']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopyCopy']"> |
| 184 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='neighbor']"/> |
| 185 | </members> |
| 186 | <members xsi:type="act:ASet" label="Set Success To True" ID="setSuccessToTrue" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopyCopyNeighborQuery']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='basicMovementAgentCopyCopy']" attribute="//@agents[ID='basicMovementAgent']/@attributes[ID='success']"> |
| 187 | <parameter xsi:type="metaabm:SAttribute" href="http://metaabm.org/core_library.metaabm#//@attributes[ID='true']"/> |
| 188 | </members> |
| 189 | </rootActivity> |
| 190 | <implementation package="" className="BasicMovementAgent" srcDir=""/> |
| 191 | </agents> |
| 192 | <agents label="Basic Cell" ID="basicCell" pluralLabel="Basic Cells"> |
| 193 | <attributes label="Goal" ID="goal" pluralLabel="Goals"/> |
| 194 | <attributes label="Goal 2" ID="goal2" pluralLabel="Goal 2s"/> |
| 195 | <attributes label="Goal 3" ID="goal3" pluralLabel="Goal 3s"/> |
| 196 | <rootActivity xsi:type="act:AGroup" label="Root Act Group" ID="rootActGroup" pluralLabel="Root Acts"/> |
| 197 | <implementation className="BasicCell" srcDir=""/> |
| 198 | </agents> |
| 199 | <agents label="Network Agent" ID="networkAgent" pluralLabel="Network Agents"> |
| 200 | <attributes label="Vision" ID="vision" pluralLabel="Visions" sType="INTEGER"/> |
| 201 | <attributes label="Moving Toward Goal" ID="movingTowardGoal" pluralLabel="Moving Toward Goals" defaultValue="true"/> |
| 202 | <rootActivity xsi:type="act:AGroup" label="Root Act Group" ID="rootActGroup" pluralLabel="Root Acts"> |
| 203 | <members xsi:type="act:ASelect" label="Goal in Area2" ID="goalinArea2" sources="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='identityMovingTowardGoalTwice']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='identityGoal'] //@agents[ID='networkAgent']/@rootActivity/@members[ID='isNearestCopyCopyCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveTwice']" agent="//@agents[ID='basicCell']" space="//@projections[ID='grid']"/> |
| 204 | <members xsi:type="act:AQuery" label="Identity Goal?" ID="identityGoal" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='goalinArea2']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='identityGoalAndIsNearestCopyCopyCopy']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='goalinArea2']"> |
| 205 | <inputs selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='goalinArea2']" value="//@agents[ID='basicCell']/@attributes[ID='goal']"/> |
| 206 | <function xsi:type="function:FLogicalOperator" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='operators']/@subs[ID='logicalOperators']/@functions[ID='identity']"/> |
| 207 | </members> |
| 208 | <members xsi:type="act:ASelect" label="Closest Near Goal" ID="closestNearGoal" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='identityGoalAndIsNearestCopyCopyCopy']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='isIdentityNearGoal'] //@agents[ID='networkAgent']/@rootActivity/@members[ID='spaceNearestCopy']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='goalinArea2']" agent="//@agents[ID='basicCell']" space="//@projections[ID='grid']"/> |
| 209 | <members xsi:type="act:AQuery" label="Is Identity Near Goal" ID="isIdentityNearGoal" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='closestNearGoal']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='isIdentityNearGoalAndIsNearestCopyCopy']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='closestNearGoal']"> |
| 210 | <inputs selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='closestNearGoal']" value="//@agents[ID='basicCell']/@attributes[ID='goal2']"/> |
| 211 | <function xsi:type="function:FLogicalOperator" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='operators']/@subs[ID='logicalOperators']/@functions[ID='identity']"/> |
| 212 | </members> |
| 213 | <members xsi:type="act:AQuery" label="Is Nearest () Copy Copy Copy" ID="isNearestCopyCopyCopy" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='goalinArea2']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='identityGoalAndIsNearestCopyCopyCopy']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='goalinArea2']"> |
| 214 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='nearest']"/> |
| 215 | </members> |
| 216 | <members xsi:type="act:AAll" label="Identity Goal? & Is Nearest () Copy Copy Copy" ID="identityGoalAndIsNearestCopyCopyCopy" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='identityGoal'] //@agents[ID='networkAgent']/@rootActivity/@members[ID='isNearestCopyCopyCopy']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='closestNearGoal']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='goalinArea2']"/> |
| 217 | <members xsi:type="act:ARule" label="Simple Network Move Toward Agent" ID="simpleNetworkMoveTowardAgent" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='person2']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='simpleNetworkMoveTowardAgent']" agent="//@agents[ID='networkAgent']" space="//@projections[ID='grid']" pluralLabel="Simple Network Move Toward Agents"/> |
| 218 | <members xsi:type="act:ARule" label="Disconnect" ID="disconnect" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='actPersonNetwork']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='disconnect']" agent="//@agents[ID='networkAgent']" pluralLabel="Disconnects"/> |
| 219 | <members xsi:type="act:ARule" label="Replace" ID="replace" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='actPersonNetworkCopy']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='replace']" agent="//@agents[ID='networkAgent']" pluralLabel="Replaces"/> |
| 220 | <members xsi:type="act:AQuery" label="Space Neighbor" ID="spaceNeighbor" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='person2']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='neighborGridLocation']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='person2']"> |
| 221 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='neighbor']"/> |
| 222 | </members> |
| 223 | <members xsi:type="act:ASelect" label="Person 2" ID="person2" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='simpleNetworkMoveTowardAgent']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='spaceNeighbor']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='simpleNetworkMoveTowardAgent']" agent="//@agents[ID='networkAgent']" space="//@projections[ID='testNetwork']"/> |
| 224 | <members xsi:type="act:AAll" label="Is Identity Near Goal & Is Nearest () Copy Copy" ID="isIdentityNearGoalAndIsNearestCopyCopy" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='isIdentityNearGoal'] //@agents[ID='networkAgent']/@rootActivity/@members[ID='spaceNearestCopy']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='movetoAreainTerritory']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='closestNearGoal']"/> |
| 225 | <members xsi:type="act:AQuery" label="Space Nearest Copy" ID="spaceNearestCopy" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='closestNearGoal']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='isIdentityNearGoalAndIsNearestCopyCopy']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='closestNearGoal']"> |
| 226 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='nearest']"/> |
| 227 | </members> |
| 228 | <members xsi:type="act:AMove" label="Move to Area in Territory" ID="movetoAreainTerritory" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='isIdentityNearGoalAndIsNearestCopyCopy']" selected="//@agents[ID='basicMovementAgent']/@rootActivity/@members[ID='moveTwice']" destination="//@agents[ID='networkAgent']/@rootActivity/@members[ID='closestNearGoal']"/> |
| 229 | <members xsi:type="act:ASelect" label="Neighbor Grid Location" ID="neighborGridLocation" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='spaceNeighbor']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='toward'] //@agents[ID='networkAgent']/@rootActivity/@members[ID='connecttoAreainTerritory']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='person2']" agent="//@agents[ID='basicCell']" space="//@projections[ID='grid']"/> |
| 230 | <members xsi:type="act:AQuery" label="Toward" ID="toward" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='neighborGridLocation']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='movetoPerson2']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='neighborGridLocation']"> |
| 231 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='toward']"/> |
| 232 | </members> |
| 233 | <members xsi:type="act:AMove" label="Move to Person 2" ID="movetoPerson2" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='toward']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='simpleNetworkMoveTowardAgent']" destination="//@agents[ID='networkAgent']/@rootActivity/@members[ID='neighborGridLocation']"/> |
| 234 | <members xsi:type="act:AConnect" label="Connect to Area in Territory" ID="connecttoAreainTerritory" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='neighborGridLocation']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='person2']" destination="//@agents[ID='networkAgent']/@rootActivity/@members[ID='neighborGridLocation']" within="//@projections[ID='testNetwork']" directed="false"/> |
| 235 | <members xsi:type="act:ASelect" label="Act Person Network" ID="actPersonNetwork" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='disconnect']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='spaceNeighborCopy']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='disconnect']" agent="//@agents[ID='networkAgent']" space="//@projections[ID='testNetwork']"/> |
| 236 | <members xsi:type="act:ADisconnect" label="Disconnect Copy" ID="disconnectCopy" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='spaceNeighborCopy']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='disconnect']" destination="//@agents[ID='networkAgent']/@rootActivity/@members[ID='actPersonNetwork']" within="//@projections[ID='testNetwork']"/> |
| 237 | <members xsi:type="act:AQuery" label="Space Neighbor Copy" ID="spaceNeighborCopy" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='actPersonNetwork']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='disconnectCopy']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='actPersonNetwork']"> |
| 238 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='neighbor']"/> |
| 239 | </members> |
| 240 | <members xsi:type="act:ASelect" label="Act Person Network Copy" ID="actPersonNetworkCopy" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='replace']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='spaceNeighborCopyCopy']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='replace']" agent="//@agents[ID='networkAgent']" space="//@projections[ID='testNetwork']"/> |
| 241 | <members xsi:type="act:AQuery" label="Space Neighbor Copy Copy" ID="spaceNeighborCopyCopy" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='actPersonNetworkCopy']" targets="//@agents[ID='networkAgent']/@rootActivity/@members[ID='connecttoActPersonNetworkinTestNetwork']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='actPersonNetworkCopy']"> |
| 242 | <function xsi:type="function:FGenericLogical" href="http://metaabm.org/core_library.metaabm#//@library[ID='coreFunctions']/@subs[ID='spatial']/@functions[ID='neighbor']"/> |
| 243 | </members> |
| 244 | <members xsi:type="act:AReplace" label="Connect to Act Person Network in Test Network" ID="connecttoActPersonNetworkinTestNetwork" sources="//@agents[ID='networkAgent']/@rootActivity/@members[ID='spaceNeighborCopyCopy']" selected="//@agents[ID='networkAgent']/@rootActivity/@members[ID='replace']" destination="//@agents[ID='networkAgent']/@rootActivity/@members[ID='actPersonNetworkCopy']" within="//@projections[ID='testNetwork']" directed="false"/> |
| 245 | </rootActivity> |
| 246 | <implementation package="" className="NetworkAgent" srcDir=""/> |
| 247 | </agents> |
| 248 | <agents label="Basic Movement State Agent" ID="basicMovementStateAgent" pluralLabel="Basic Movement State Agents"> |
| 249 | <attributes xsi:type="metaabm:SState" label="State" ID="state" pluralLabel="States" sType="SYMBOL" defaultValue="Option 1" defaultOption="//@agents[ID='basicMovementStateAgent']/@attributes[ID='state']/@options.0"> |
| 250 | <options label="Option 1" ID="option1" pluralLabel="Option 1s"/> |
| 251 | <options label="Option 2" ID="option2" pluralLabel="Option 2s"/> |
| 252 | </attributes> |
| 253 | <attributes label="Some Boolean" ID="someBoolean" pluralLabel="Some Booleans"/> |
| 254 | <rootActivity xsi:type="act:AGroup" label="Root Act Group" ID="rootActGroup" pluralLabel="Root Act Groups"/> |
| 255 | <implementation className="BasicMovementStateAgent"/> |
| 256 | </agents> |
| 257 | <projections xsi:type="metaabm:SGrid" label="Grid" ID="grid" pluralLabel="Grids" description="" dimensionality="2" borderRule="STRICT"> |
| 258 | <attributes xsi:type="metaabm:SAttributeArray" label="Dimensions" ID="dimensions" pluralLabel="Dimensionss" description="The size of each dimension." sType="INTEGER" size="2"/> |
| 259 | <attributes label="Width" ID="width" pluralLabel="Widths" description="The horizontal extent of the space." sType="INTEGER" defaultValue="100"/> |
| 260 | <attributes label="Height" ID="height" pluralLabel="Heights" description="The vertical extent of the space." sType="INTEGER" defaultValue="50"/> |
| 261 | </projections> |
| 262 | <projections xsi:type="metaabm:SNetwork" label="Test Network" ID="testNetwork" pluralLabel="Test Networks"/> |
| 263 | </metaabm:SContext> |