Distributions
Class PMFVisitor
java.lang.Object
Distributions.PMFVisitor
- All Implemented Interfaces:
- StateVisitor
public class PMFVisitor
- extends java.lang.Object
- implements StateVisitor
This class can be given to a State object, calls the accept-method of State which
will call the right method of this visitor
- Author:
- ward
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PMFVisitor
public PMFVisitor(VerticalDistribution verticalDistribution)
VisitStateA
public void VisitStateA(State state)
- Specified by:
VisitStateA in interface StateVisitor
VisitStateB
public void VisitStateB(State state)
- Specified by:
VisitStateB in interface StateVisitor
VisitStateC
public void VisitStateC(State state)
- Specified by:
VisitStateC in interface StateVisitor
getPMF
public double[] getPMF()