

Public Member Functions | |
| void | prune (float Lagrangian, int WHICH_NORM) |
| Node | getRootNode () |
| void | print () |
| void | reset () |
| void | applyPruningInRealTree () |
Protected Member Functions | |
| Tree (Node rootNode) | |
| Node | next () |
Protected Attributes | |
| Node | rootNode |
| PriorityQueue< Node > | queue |
Package Attributes | |
| float | Lagrangian |
Private Member Functions | |
| float | getLagrangian () |
| void | setLagrangian (float lagrangian) |
Definition at line 24 of file Tree.java.
| commandline.Encoder.dynamicProg.Tree.Tree | ( | Node | rootNode | ) | [protected] |
| void commandline.Encoder.dynamicProg.Tree.prune | ( | float | Lagrangian, | |
| int | WHICH_NORM | |||
| ) |
Prunes the Node tree by setting node.pruned to 'true' if they have no children any longer
| Lagrangian |
we have to reduce the slope by pruning the children
keep children and accumulate the cost
Definition at line 45 of file Tree.java.
Referenced by commandline.Encoder.dynamicProg.Tree.applyPruningInRealTree(), commandline.Encoder.NormalMeshEncoder.startEncoding(), and commandline.Encoder.dynamicProg.TestDynamicProgrm.test().
| Node commandline.Encoder.dynamicProg.Tree.next | ( | ) | [protected] |
Definition at line 101 of file Tree.java.
Referenced by commandline.Encoder.dynamicProg.Tree.prune().
| Node commandline.Encoder.dynamicProg.Tree.getRootNode | ( | ) |
Implements commandline.Encoder.dynamicProg.ITree.
Definition at line 106 of file Tree.java.
Referenced by commandline.Encoder.dynamicProg.Tree.applyPruningInRealTree(), commandline.Encoder.NormalMeshEncoder.constructBreathFirstEncodingOfTree(), commandline.Encoder.dynamicProg.Tree.print(), commandline.Encoder.dynamicProg.Tree.reset(), commandline.Encoder.NormalMeshEncoder.show(), commandline.Encoder.NormalMeshEncoder.startEncoding(), and commandline.JUnitTest.TESTED.TestLeavesCollector.testgetLeavesFromNode().
| void commandline.Encoder.dynamicProg.Tree.print | ( | ) |
prints the tree list in breath first order
Definition at line 114 of file Tree.java.
Referenced by commandline.Encoder.dynamicProg.TestDynamicProgrm.test().
| void commandline.Encoder.dynamicProg.Tree.reset | ( | ) |
set all node.pruned=false
Definition at line 132 of file Tree.java.
Referenced by commandline.Encoder.NormalMeshEncoder.startEncoding().
| void commandline.Encoder.dynamicProg.Tree.applyPruningInRealTree | ( | ) |
applies the pruning in the real tree so the tree resembles the pruning
Definition at line 150 of file Tree.java.
Referenced by commandline.Encoder.NormalMeshEncoder.constructBreathFirstEncodingOfTree().
| float commandline.Encoder.dynamicProg.Tree.getLagrangian | ( | ) | [private] |
| void commandline.Encoder.dynamicProg.Tree.setLagrangian | ( | float | lagrangian | ) | [private] |
Definition at line 183 of file Tree.java.
Referenced by commandline.Encoder.dynamicProg.Tree.prune().
Node commandline.Encoder.dynamicProg.Tree.rootNode [protected] |
Definition at line 25 of file Tree.java.
Referenced by commandline.Encoder.dynamicProg.Tree.getRootNode().
PriorityQueue<Node> commandline.Encoder.dynamicProg.Tree.queue [protected] |
Definition at line 27 of file Tree.java.
Referenced by commandline.Encoder.dynamicProg.Tree.next(), commandline.Encoder.dynamicProg.Tree.prune(), and commandline.Encoder.dynamicProg.Tree.Tree().
float commandline.Encoder.dynamicProg.Tree.Lagrangian [package] |
Definition at line 29 of file Tree.java.
Referenced by commandline.Encoder.dynamicProg.Tree.getLagrangian(), and commandline.Encoder.dynamicProg.Tree.setLagrangian().
1.5.5