Uses of Interface
com.amalgamasimulation.graphagent.LongAgentWeightKey
Packages that use LongAgentWeightKey
-
Uses of LongAgentWeightKey in com.amalgamasimulation.graphagent
Classes in com.amalgamasimulation.graphagent with type parameters of type LongAgentWeightKeyModifier and TypeClassDescriptionclassLongAgentsEnvironment<N extends LongAgentGraphNode,A extends LongAgentGraphArc, K extends LongAgentWeightKey> Environment for long agents (seeLongAgentclass).Classes in com.amalgamasimulation.graphagent that implement LongAgentWeightKeyFields in com.amalgamasimulation.graphagent declared as LongAgentWeightKeyMethods in com.amalgamasimulation.graphagent that return LongAgentWeightKeyModifier and TypeMethodDescriptionLongAgent.getLongAgentWeightKey()ReturnLongAgentWeightKeywhich is responsible for calculating the weight of arcsLongAgentsEnvironment.weightKey(GraphAgent<N, A> agent) Methods in com.amalgamasimulation.graphagent with parameters of type LongAgentWeightKeyModifier and TypeMethodDescriptiondoubleLongAgentsEnvironment.getArcWeight(A arcValue, LongAgentWeightKey weightKey) doubleLongAgentsEnvironment.getNodeWeight(N nodeValue, LongAgentWeightKey weightKey) voidLongAgent.setLongAgentWeightKey(LongAgentWeightKey longAgentWeightKey) Set specifiedLongAgentWeightKeywhich is responsible for calculating the weight of arcs -
Uses of LongAgentWeightKey in com.amalgamasimulation.trains
Methods in com.amalgamasimulation.trains with parameters of type LongAgentWeightKeyModifier and TypeMethodDescriptiondoubleTrainsEnvironment.calculateArcWeight(RailArc arcValue, LongAgentWeightKey longAgentWeightKey) Calculates the weight of traversing the specifiedRailArc.doubleTrainsEnvironment.getArcWeight(RailArc arcValue, LongAgentWeightKey longAgentWeightKey) protected doubleTrainsEnvironment.getEndMovementTime(List<Graph<RailNode, RailArc>.Arc> arcs, double agentLengthBeforeDestNode, double beginTime, double velocity, double agentLength, Graph<RailNode, RailArc>.Arc beforePathSourceArc, boolean isIncludeArcAfterNode, Graph<RailNode, RailArc>.Node destNode, LongAgentWeightKey weighterKey) doubleTrainsEnvironment.getPartialArcWeight(RailArc arcValue, double startAbsOffset, double endAbsOffset, double startRelOffset, double endRelOffset, LongAgentWeightKey longAgentWeightKey) protected doubleTrainsEnvironment.getStartMovementTime(com.amalgamasimulation.trains.TrainsEnvironment.ContextRecord context, double agentLengthBeforeDestNode, double beginTime, double velocity, double agentLength, Graph<RailNode, RailArc>.Arc beforePathSourceArc, boolean isIncludeArcAfterNode, Graph<RailNode, RailArc>.Node destNode, LongAgentWeightKey weighterKey)