Class LongAgentWeightKeyImpl
java.lang.Object
com.amalgamasimulation.graphagent.LongAgentWeightKeyImpl
- All Implemented Interfaces:
LongAgentWeightKey
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected LongAgent<?, ?> protected List<AgentGraphArc> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProhibitedArc(AgentGraphArc prohibitedArc) doubleLongAgent<?, ?> booleanvoidremoveProhibitedArc(AgentGraphArc prohibitedArc) voidsetCalculatedFromHead(boolean isCalculatedFromHead)
-
Field Details
-
longAgent
-
isCalculatedFromHead
protected boolean isCalculatedFromHead -
prohibitedArcs
-
-
Constructor Details
-
LongAgentWeightKeyImpl
-
-
Method Details
-
getArcWeight
- Specified by:
getArcWeightin interfaceLongAgentWeightKey
-
getLongAgent
- Specified by:
getLongAgentin interfaceLongAgentWeightKey
-
isArcProhibited
- Specified by:
isArcProhibitedin interfaceLongAgentWeightKey
-
setCalculatedFromHead
public void setCalculatedFromHead(boolean isCalculatedFromHead) - Specified by:
setCalculatedFromHeadin interfaceLongAgentWeightKey
-
addProhibitedArc
- Specified by:
addProhibitedArcin interfaceLongAgentWeightKey
-
removeProhibitedArc
- Specified by:
removeProhibitedArcin interfaceLongAgentWeightKey
-