Package | Description |
---|---|
metdetection.meter.lpcfg |
Modifier and Type | Field and Description |
---|---|
private MetricalLpcfgTree |
MetricalLpcfgElementNotFoundException.tree
The tree which caused the Exception.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<MetricalLpcfgTree> |
MetricalLpcfg.trees
A List of the trees contained in this lpcfg.
|
Modifier and Type | Method and Description |
---|---|
MetricalLpcfgTree |
MetricalLpcfgTree.deepCopy()
Get a deep copy of this tree.
|
static MetricalLpcfgTree |
MetricalLpcfgTreeFactory.makeTree(java.util.List<MidiNote> notes,
java.util.List<Beat> beats,
Measure measure,
int subBeatLength,
int anacrusisLengthSubBeats,
int measureNum)
Make a new tree based on a List of MidiNotes.
|
static MetricalLpcfgTree |
MetricalLpcfgTreeFactory.makeTree(MetricalLpcfgQuantum[] quantums,
int beatsPerMeasure,
int subBeatsPerBeat)
Make and return a tree from the given quantums with the given structure.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<MetricalLpcfgTree> |
MetricalLpcfg.getTrees()
Get the trees contained in this grammar.
|
Modifier and Type | Method and Description |
---|---|
void |
MetricalLpcfg.addTree(MetricalLpcfgTree tree)
Add a tree to our list of trees (
MetricalLpcfg.trees ). |
void |
MetricalLpcfg.extractTree(MetricalLpcfgTree toExtract)
Extract the given tree from our list of trees.
|
double |
MetricalLpcfg.getTreeLogProbability(MetricalLpcfgTree tree)
Get the log probability that the given tree would occur in this grammar.
|
Constructor and Description |
---|
MetricalLpcfgElementNotFoundException(MetricalLpcfgTree tree)
Create a new Exception based on the given Tree.
|
MetricalLpcfgTree(MetricalLpcfgTree tree)
Create a new tree as a deep copy of the given one.
|