Class LongAgentGraphArcImpl

java.lang.Object
com.amalgamasimulation.graphagent.AgentGraphArcImpl
com.amalgamasimulation.graphagent.LongAgentGraphArcImpl
All Implemented Interfaces:
AgentGraphArc, GeometricGraphArc, LongAgentGraphArc
Direct Known Subclasses:
RailArc

public class LongAgentGraphArcImpl extends AgentGraphArcImpl implements LongAgentGraphArc
Simple implementation of LongAgentGraphArc interface that is suitable in most simple cases. Contains the generic implementations of all methods of LongAgentGraphArc interface
Author:
Andrey Korotin
  • Constructor Details

    • LongAgentGraphArcImpl

      public LongAgentGraphArcImpl(Polyline polyline)
      Creates a new instance of LongAgentGraphArcImpl with the specified Polyline.
      Parameters:
      polyline - specified polyline
    • LongAgentGraphArcImpl

      public LongAgentGraphArcImpl(Polyline polyline, LongAgentGraphArcImpl reverseArc)
      Creates a new instance of LongAgentGraphArcImpl with the specified Polyline and reverse arc.
      Parameters:
      polyline - specified polyline
      reverseArc - specified reverse arc (must implements LongAgentGraphArc)
  • Method Details