|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectNode
public class Node
This class represents a node that is part of a tree data structure. A node represents an RNA loop structure that is part of a hairpin structure. A branch within the tree represents a hairpin structure that is build up by a number of loops, which are the nodes.
See also http://2008.igem.org/Team:TUDelft/Temperature_software
Tree
Constructor Summary | |
---|---|
Node(Tree tree,
Node parent,
int level,
Loop loop,
int energy)
Constructs a new Node. |
Method Summary | |
---|---|
void |
addChilds()
This method builds up a whole tree by recursively adding childs. |
void |
getResults(java.util.ArrayList<java.lang.String> result,
java.lang.String loop)
This method returns the sequences of the hairpins that are the result after building this tree. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Node(Tree tree, Node parent, int level, Loop loop, int energy)
tree
- The tree to which this node belongs.parent
- The parent node of this node.level
- The level on which this node resides within the tree.loop
- The loop that this node represents.energy
- The stacked energy from the root node to this node (the
sum of all the energy values of the loops from this node
to the root node)Method Detail |
---|
public void addChilds()
public void getResults(java.util.ArrayList<java.lang.String> result, java.lang.String loop)
result
- An array in which the resulting hairpin designs are stored.loop
- The hairpin loop to add to the stacking region to make a
whole hairpin sequence out of it.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |