|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softsynth.jmsl.score.transcribe.SearchPath
public class SearchPath
A vector of BeatDivisions that asserts a solution for transcribing the events within one measure. These compete against each other in HeuristicSearch. Clone is implemented so this path can be copied and expanded with the next set of beat divisions.
Constructor Summary | |
---|---|
SearchPath()
|
Method Summary | |
---|---|
void |
addBeatDivision(BeatDivision bd)
Add a beat division to this path, update the score |
java.lang.Object |
clone()
override because we want a copy of the vector of beat divisions, not the same vector |
java.util.Vector |
getBeatDivisions()
|
java.lang.String |
getName()
|
int |
getNextLegalBeat()
|
double |
getScore()
|
java.lang.String |
getTimePointIndexListing()
|
static void |
main(java.lang.String[] args)
|
void |
setNextLegalBeat(int b)
Set the next beat that this searchpath reaches. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SearchPath()
Method Detail |
---|
public void setNextLegalBeat(int b)
public int getNextLegalBeat()
public void addBeatDivision(BeatDivision bd)
public double getScore()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getTimePointIndexListing()
public java.util.Vector getBeatDivisions()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |