public abstract class MetricTree.Visitor extends Object
Modifier and Type | Field and Description |
---|---|
(package private) Stack<MetricTree.EssentialBracket> |
bracketStack
Keeps track of n-plet-brackets currently open.
|
(package private) Rational |
currentProportion |
(package private) Stack<Rational> |
proportionStack
Keeps track of the accumulated proportion.
|
Constructor and Description |
---|
Visitor() |
Modifier and Type | Method and Description |
---|---|
abstract void |
action(MetricTree mt) |
abstract void |
close_proportion(Rational proportion) |
abstract void |
open_proportion(Rational proportion) |
protected void |
testCloseBrackets(Rational when)
Called for each node to close essential n-plet-brackets, iff their
end-of-duration is reached.
|
protected void |
testOpenBrackets(MetricTree start)
Called for each node to open essential n-plet-brackets, iff necessary
for the following duration values.
|
void |
visit() |
Rational currentProportion
final Stack<MetricTree.EssentialBracket> bracketStack
protected void testCloseBrackets(Rational when)
protected void testOpenBrackets(MetricTree start)
public void visit()
public abstract void action(MetricTree mt)
public abstract void open_proportion(Rational proportion)
public abstract void close_proportion(Rational proportion)