A B C D E F G H I K L M N O P R S T U W

C

calcLeadMusic(Method) - Method in class org.pealfactory.compose.halfleadspliced.RowNode
 
calcLeadsToTenorsHome(Method) - Method in class org.pealfactory.compose.halfleadspliced.RowNode
Must ONLY be called on tenors-together nodes with the treble leading.
calcMethodBalance() - Method in class org.pealfactory.compose.halfleadspliced.Composer
Calculates a percentage score (as an integer 0-100) representing the method balance of the current composition.
calcMethodBalance() - Method in class org.pealfactory.compose.halfleadspliced.ComposerLH
This one for LH-only search! 100 = perfect balance of all methods in the array 0 = one or more missing
calcMethodDistribution(int[], double) - Method in class org.pealfactory.compose.halfleadspliced.Composer
Provides an overall measure of method distribution, by finding the mean deviation of method counts from the optimum.
calcMusic(int) - Method in class org.pealfactory.compose.halfleadspliced.Composition
Calculates the total music score of the entire composition starting from the given lead rotation.
calcMusicRots(int) - Method in class org.pealfactory.compose.halfleadspliced.Composition
Checks all acceptable rotations of the composition for music score.
calcMusicScore(Music[]) - Method in class org.pealfactory.compose.halfleadspliced.RowNode
 
calcNicePartEnd(Music[]) - Method in class org.pealfactory.compose.halfleadspliced.RowNode
 
calcPartStats() - Method in class org.pealfactory.compose.halfleadspliced.RowNode
 
calcPermLinks(Tables, byte[][], byte[][]) - Method in class org.pealfactory.compose.halfleadspliced.RowNode
Returns false if error.
calcPerms(Tables) - Method in class org.pealfactory.compose.halfleadspliced.Method
Calculates place notation, and leadhead permutations for this method.
calcPermutation(Row, byte[]) - Method in class org.pealfactory.ring.Row
Given a Row r, calculates the permutation (as a byte[]) which would permute us to that row.
calcProgressRatios() - Method in class org.pealfactory.compose.halfleadspliced.Composer
For the rotational sort, progress through the search space speeds up exponentially as the possibilities for the initial node are exhausted.
calcUnbalance(int[], int) - Method in class org.pealfactory.compose.halfleadspliced.Composer
Returns an "unbalance" value based on the method counts in the counts[] array.
change(byte[]) - Method in class org.pealfactory.ring.ImmutableRow
Permute the row by a single change of place notation.
changesEqual(byte[], byte[]) - Method in class org.pealfactory.ring.PN
Returns true if two place notation changes are equal - note that the final place is important, so if one change specifies "n" and the other doesn't, they won't match.
checkComp() - Method in class org.pealfactory.compose.halfleadspliced.Composer
Checks composition for music and truth; if it also meets the current minimum scores, it gets outputted.
checkRots() - Method in class org.pealfactory.compose.halfleadspliced.Composition
Returns true if there is at least one rotation of the composition with an acceptable part end; in this case, fFirstRot is also set to the rotation number of the first acceptable rotation.
checkStats() - Method in class org.pealfactory.compose.halfleadspliced.Composer
Should be called every few centiseconds by the main composing loop.
clone() - Method in class org.pealfactory.ring.Row
 
compareTo(OutputComp) - Method in class org.pealfactory.compose.halfleadspliced.OutputComp
Returns +1 if we score more, -1 if less
compose(ComposerHost) - Method in class org.pealfactory.compose.halfleadspliced.Composer
Starts the search.
compose(int, int, boolean, boolean, boolean, boolean, int, boolean) - Method in class org.pealfactory.compose.halfleadspliced.Elf
Returns false if composer fails to start for some reason (usually because tables are still building).
Composer - class org.pealfactory.compose.halfleadspliced.Composer.
The Composer is the heart of Elf, and contains the inner Search Loops which find and score compositions.
Composer(Tables, int, int, boolean, boolean, boolean) - Constructor for class org.pealfactory.compose.halfleadspliced.Composer
This constructor should not be used by client code - instead see the Composer.create(org.pealfactory.compose.halfleadspliced.Tables, int, int, boolean, boolean, boolean, boolean, int) static factory method.
ComposerApp - class org.pealfactory.compose.halfleadspliced.ComposerApp.
An application version of Elf; not packaged with the applet.
ComposerApp() - Constructor for class org.pealfactory.compose.halfleadspliced.ComposerApp
 
ComposerCalls - class org.pealfactory.compose.halfleadspliced.ComposerCalls.
Extends the base Composer class to provide an inner doCompose() search loop for the half-lead with-calls search.
ComposerCalls(Tables, int, int, boolean, boolean, boolean, int) - Constructor for class org.pealfactory.compose.halfleadspliced.ComposerCalls
 
ComposerHost - interface org.pealfactory.compose.halfleadspliced.ComposerHost.
An interface which must be implemented by applications or applets hosting a Composer instance.
ComposerLH - class org.pealfactory.compose.halfleadspliced.ComposerLH.
Extends the base Composer class to provide an inner doCompose() search loop for the leadhead-only with-calls search.
ComposerLH(Tables, int, int, boolean, boolean, boolean, int) - Constructor for class org.pealfactory.compose.halfleadspliced.ComposerLH
 
Composition - class org.pealfactory.compose.halfleadspliced.Composition.
Tightly bound to the Composer class, a Composition instance holds the leads of a spliced composition as it is generated.
Composition(Method[], Tables, int, boolean, boolean) - Constructor for class org.pealfactory.compose.halfleadspliced.Composition
 
Constants - interface org.pealfactory.ring.Constants.
Basic constants for ringing software.
create(Tables, int, int, boolean, boolean, boolean, boolean, int) - Static method in class org.pealfactory.compose.halfleadspliced.Composer
This is a factory method which must be used by client code to construct Composer instances - the individual constructors should not be used.

A B C D E F G H I K L M N O P R S T U W