Package org.goplanit.path.choice.logit
Class MultinomialLogit
- java.lang.Object
-
- org.goplanit.component.PlanitComponent<LogitChoiceModel>
-
- org.goplanit.path.choice.logit.LogitChoiceModel
-
- org.goplanit.path.choice.logit.MultinomialLogit
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<IdAble>
,EventListener
,PlanitComponentListener
,EventListener
,ExternalIdAble
,IdAble
public class MultinomialLogit extends LogitChoiceModel
MNL choice model implementation- Author:
- markr
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.goplanit.path.choice.logit.LogitChoiceModel
MNL
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MultinomialLogit(MultinomialLogit other)
Copy constructorprotected
MultinomialLogit(IdGroupingToken groupId)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultinomialLogit
clone()
Create a shallow copy of this entityvoid
reset()
All components should be able to reset going back to some representative initial state-
Methods inherited from class org.goplanit.component.PlanitComponent
equals, getComponentType, getExternalId, getId, getIdGroupingToken, getKnownSupportedEventTypes, getXmlId, hashCode, onPlanitComponentEvent, setExternalId, setXmlId
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.goplanit.utils.event.EventListener
hasKnownSupportedEventTypes
-
Methods inherited from interface org.goplanit.utils.id.ExternalIdAble
hasExternalId, hasXmlId
-
Methods inherited from interface org.goplanit.utils.id.IdAble
compareTo, idEquals, idHashCode
-
-
-
-
Constructor Detail
-
MultinomialLogit
protected MultinomialLogit(IdGroupingToken groupId)
Constructor- Parameters:
groupId
- contiguous id generation within this group for instances of this class
-
MultinomialLogit
protected MultinomialLogit(MultinomialLogit other)
Copy constructor- Parameters:
other
- to copy
-
-
Method Detail
-
clone
public MultinomialLogit clone()
Create a shallow copy of this entity- Specified by:
clone
in interfaceIdAble
- Specified by:
clone
in classLogitChoiceModel
- Returns:
- shallow copy of entity
-
reset
public void reset()
All components should be able to reset going back to some representative initial state- Specified by:
reset
in classPlanitComponent<LogitChoiceModel>
-
-