Package org.biojava.bio.dp
Class TrainerTransition
java.lang.Object
org.biojava.bio.dp.TrainerTransition
- All Implemented Interfaces:
Serializable
This is a small and ugly class for storing a trainer and a transition.
It is hash-code-able, and has a sensible equality operator.
- Author:
- Matthew Pocock
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
trainer
-
from
-
to
-
-
Constructor Details
-
TrainerTransition
-
-
Method Details
-
equals
Two transitions are equal if they have the same trainer, from and to states.- Overrides:
equals
in classObject
- Throws:
ClassCastException
-
hashCode
The hash code is model.hashCode() ^ from.hashCode() ^ to.hashCode()
-