org.pealfactory.compose.halfleadspliced
Class ComposerCalls

java.lang.Object
  extended by org.pealfactory.bronze.Tracker
      extended by org.pealfactory.compose.halfleadspliced.Composer
          extended by org.pealfactory.compose.halfleadspliced.ComposerCalls
All Implemented Interfaces:
java.lang.Runnable, Trackable, StandardMethods

public class ComposerCalls
extends Composer

Extends the base Composer class to provide an inner doCompose() search loop for the half-lead with-calls search.

Since:
Tinuviel

Field Summary
 
Fields inherited from class org.pealfactory.compose.halfleadspliced.Composer
f1stHalfMethodCounts, f1stHalfMethodIndices, f2ndHalfMethodCounts, f2ndHalfMethodIndices, fAllowCalls, fBalanceScore, fBestBalance, fBestCOM, fBestMusic, fBestScore, fCalls, fComp, fComposing, fCompositeMethods, fCompsChecked, fCompsPerSec, fCOMScore, fCounter, fHost, fInitialProgress, fInitialTime, fLastComps, fLastNodes, fLastTime, fLeadsPerPart, fLHOnlyMethods, fLHSpliced, fMaxMethodsAtRepeatLimit, fMethodCounts, fMethodIndices, fMethodRepeatLimit, fMethods, fMinBalance, fMinCOM, fMinScore, fN1stHalfAtMaxRepeat, fN2ndHalfAtMaxRepeat, fNCompMethods, fNComps, fNicePartEnds, fNMethods, fNodesPerSec, fNodesSearched, fNParts, fProgressCumulatives, fProgressRatios, fRegenPtr, fRounds, fSearchTime, fStartTime, fTables, fTenorsTogether, fTruthTable, kCHECK_FREQ, kCOPYRIGHT, kNBELLS, kVERSION
 
Fields inherited from class org.pealfactory.bronze.Tracker
kDEFAULT_JOB_NAME, kRESPONSE_TIME
 
Fields inherited from interface org.pealfactory.compose.halfleadspliced.StandardMethods
kASHTEAD, kBELFAST, kBRISTOL, kCAMBRIDGE, kCASSIOBURY, kGLASGOW, kLINCOLNSHIRE, kLONDON, kPUDSEY, kRUTLAND, kSUPERLATIVE, kUXBRIDGE, kYORKSHIRE
 
Fields inherited from interface org.pealfactory.bronze.Trackable
kERROR_NONE
 
Constructor Summary
ComposerCalls(Tables tables, int leadsPerPart, int nParts, boolean tenorsTogether, boolean nicePartEnds, boolean ATW, int calls)
           
 
Method Summary
(package private)  int backtrack(int i)
          This method doesn't do calls!
(package private)  void doCompose()
          HL, calls
 
Methods inherited from class org.pealfactory.compose.halfleadspliced.Composer
calcMethodBalance, calcMethodDistribution, calcUnbalance, checkComp, checkStats, compose, create, estimateTimeLeft, getBestBalance, getBestCOM, getBestMusic, getBestScore, getCompsPerSec, getNComps, getNNodes, getNodesPerSec, getSearchTime, initRepeatLimits, isComposing, isLengthGood, isLHSpliced, reduceMethodCounts, setAllowCalls, setBalanceScore, setCOMScore, setMaxPartLength, setMinBalance, setMinCOM, setMinPartLength, setMinScore, setRepeatLimits, setStartComp
 
Methods inherited from class org.pealfactory.bronze.Tracker
abort, abortWorker, endDelegateJob, getErrorMsg, getJobName, getProgress, getProgress, isAborted, isError, isFinished, isPaused, pause, reset, resume, run, setErrorMsg, setJobName, setProgress, setTotalDuration, startDelegateJob, startWorker, waitForResume
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComposerCalls

ComposerCalls(Tables tables,
              int leadsPerPart,
              int nParts,
              boolean tenorsTogether,
              boolean nicePartEnds,
              boolean ATW,
              int calls)
Method Detail

doCompose

void doCompose()
HL, calls

Overrides:
doCompose in class Composer

backtrack

int backtrack(int i)
Description copied from class: Composer
This method doesn't do calls!

Overrides:
backtrack in class Composer