|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pealfactory.compose.halfleadspliced.OutputComp
class OutputComp
When the composing engine finds a true composition that meets the score minimums, it creates an OutputComp instance and sends it to its ComposerHost. The OutputComp class is initialised with a title and a Composition reference; it queries the Composition to find the best rotation and to obtain the calling. A tables of Leads is then built to represent the first part of the rotated composition.
| Field Summary | |
|---|---|
private int |
fBalance
Method balance score 0-100% |
private int |
fCOM
Must be held per part |
private Lead[] |
fLeads
|
private boolean |
fLHOnly
|
private int |
fMusic
|
private int |
fNParts
|
private int |
fScore
|
private java.lang.String |
fTitle
|
private int |
fUnbalance
Counts for balance pruning |
static java.lang.String |
kNEWLINE
|
| Constructor Summary | |
|---|---|
OutputComp(java.lang.String title,
Composition comp,
int score,
RowNode start,
boolean lhOnly)
|
|
| Method Summary | |
|---|---|
int |
compareTo(OutputComp comp)
Returns +1 if we score more, -1 if less |
int |
getBalance()
|
int |
getCOM()
Changes of method per part - multiply by getNParts() to get total. |
Lead |
getLead(int i)
|
int |
getMusic()
|
int |
getNLeads()
|
int |
getNParts()
|
int |
getScore()
|
java.lang.String |
getTitle()
|
int |
getUnbalanceCount()
|
java.lang.String |
toString(java.lang.String titleExtra)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String kNEWLINE
private java.lang.String fTitle
private Lead[] fLeads
private int fNParts
private int fMusic
private int fScore
private int fCOM
private int fBalance
private int fUnbalance
private boolean fLHOnly
| Constructor Detail |
|---|
public OutputComp(java.lang.String title,
Composition comp,
int score,
RowNode start,
boolean lhOnly)
| Method Detail |
|---|
public Lead getLead(int i)
public java.lang.String toString(java.lang.String titleExtra)
public int compareTo(OutputComp comp)
public java.lang.String getTitle()
public int getNParts()
public int getMusic()
public int getScore()
public int getCOM()
public int getBalance()
public int getUnbalanceCount()
public int getNLeads()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||