ProGAL.proteins.beltaStructure.bnb
Class BnBNode
java.lang.Object
ProGAL.proteins.beltaStructure.bnb.BnBNode
- All Implemented Interfaces:
- java.lang.Comparable<BnBNode>
public class BnBNode
- extends java.lang.Object
- implements java.lang.Comparable<BnBNode>
A node in a branch and bound tree corresponding to a partial protein structure.
The protein structure consists of parts where a part can be either a beta-sheet
or a helix/coil segment. The part
field indicates the index of the
part corresponding to this node. The structure
field indicates
which structure the specified part has. To recreate the partial structure
corresponding to this node, simply iterate to the root of the tree using the
parent
pointers and for each node set the indicated part to have
the indicated structure.
This class is primarily a storage class and doesnt have any functionality itself.
- Author:
- R.Fonseca
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
compareTo
public int compareTo(BnBNode n)
- Specified by:
compareTo
in interface java.lang.Comparable<BnBNode>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object