Class AbstractVirtualCost

    • Constructor Detail

      • AbstractVirtualCost

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

        public AbstractVirtualCost​(AbstractVirtualCost other,
                                   boolean deepCopy)
        Copy Constructor
        Parameters:
        other - to copy
        deepCopy - when true, create a deep copy, shallow copy otherwise
    • Method Detail

      • initialiseBeforeSimulation

        public abstract void initialiseBeforeSimulation​(VirtualNetwork virtualNetwork)
                                                 throws PlanItException
        Initialize the virtual cost component
        Parameters:
        virtualNetwork - the virtual network
        Throws:
        PlanItException - thrown if a link/mode combination exists for which no cost parameters have been set
      • updateTimePeriod

        public abstract void updateTimePeriod​(TimePeriod timePeriod)
        Provide the cost calculation with information regarding the time period for which the cost is to be calculated
        Parameters:
        timePeriod - to apply