Class StochasticPathChoice

    • Field Detail

      • logitChoiceModel

        protected LogitChoiceModel logitChoiceModel
        The registered logit choice model
      • odPathSet

        protected OdPathMatrix odPathSet
        The registered od path set instance
    • Constructor Detail

      • StochasticPathChoice

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

        protected StochasticPathChoice​(StochasticPathChoice other,
                                       boolean deepCopy)
        Copy constructor
        Parameters:
        other - to copy
        deepCopy - when true, create a deep copy, shallow copy otherwise
    • Method Detail

      • setLogitModel

        public void setLogitModel​(LogitChoiceModel logitChoiceModel)
        set the chosen logit model
        Parameters:
        logitChoiceModel - chosen model
      • setOdPathMatrix

        public void setOdPathMatrix​(OdPathMatrix odPathSet)
        Register a fixed od path set to use in the form of an ODPathMatrix
        Parameters:
        odPathSet - the fixed od path set in the shape of an od path matrix
      • deepClone

        public abstract StochasticPathChoice 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 PathChoice
        Returns:
        deep copy of entity