Class LtmAssignment

    • Constructor Detail

      • LtmAssignment

        protected LtmAssignment​(IdGroupingToken groupId)
        Constructor
        Parameters:
        groupId - contiguous id generation within this group for instances of this class
      • LtmAssignment

        protected LtmAssignment​(LtmAssignment other,
                                boolean deepCopy)
        Copy Constructor
        Parameters:
        other - to copy
        deepCopy - when true, create a eep copy, shallow copy otherwise
    • Method Detail

      • getUsedNetworkLayer

        protected MacroscopicNetworkLayer getUsedNetworkLayer()
        The used network layer
        Returns:
        network layer used
      • verifyComponentCompatibility

        protected void verifyComponentCompatibility()
                                             throws PlanItException
        Verify if the create traffic assignment (sbu)components are compatible with each other and the created transport network. Called before starting the simulation and after the transport network has been generated from physical and virtual network. So this is called after the build of the assignment instance
        Specified by:
        verifyComponentCompatibility in class TrafficAssignment
        Throws:
        PlanItException - thrown if the components are not compatible
      • deepClone

        public abstract LtmAssignment deepClone()
        deep clone on planit component should attempt to also update internal dependencies between deep cloned containers where possible
        Specified by:
        deepClone in interface IdAble
        Specified by:
        deepClone in class TrafficAssignment
        Returns:
        deep copy of entity
      • setFundamentalDiagram

        public void setFundamentalDiagram​(FundamentalDiagramComponent fundamentalDiagram)
        Set the fundamental diagram
        Parameters:
        fundamentalDiagram - the fundamental diagram
      • setNodeModel

        public void setNodeModel​(NodeModelComponent nodeModel)
        The node model to use
        Parameters:
        nodeModel - to use
      • getPathChoice

        public PathChoice getPathChoice()
        The path choice model to use
        Returns:
        path choice model used
      • setPathChoice

        public void setPathChoice​(PathChoice pathChoice)
        The path choice model to use
        Parameters:
        pathChoice - model used
      • reset

        public void reset()
        All components should be able to reset going back to some representative initial state
        Overrides:
        reset in class TrafficAssignment