public class GraphDefinedDomain.NodeTransitionProbability
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
probability
The probability of transitioning to the resulting state
|
int |
transitionTo
The resulting state
|
Constructor and Description |
---|
NodeTransitionProbability(int transitionTo,
double probability)
Initializes transition probability
|
Modifier and Type | Method and Description |
---|---|
GraphDefinedDomain.NodeTransitionProbability |
copy() |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
public int transitionTo
public double probability
public NodeTransitionProbability(int transitionTo, double probability)
transitionTo
- the resulting stateprobability
- the probability of transitioning to the resulting statepublic GraphDefinedDomain.NodeTransitionProbability copy()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object