public abstract class BaseOracle extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, Options
Modifier and Type | Field and Description |
---|---|
protected Dataset |
ToEvaluate
Dataset containing entries currently being evaluated
|
Constructor and Description |
---|
BaseOracle() |
Modifier and Type | Method and Description |
---|---|
BaseOracle |
clone() |
protected abstract void |
evaluate_protected()
Operation which actually does the work
|
void |
evaluateEntries()
Run all necessary calculations to determine the measured class of each entry
Throws error if no entries have been imported
|
Dataset |
extractDataset()
If the oracle is finished, returns the dataset with all evaluated entries.
|
void |
importDataset(Dataset NewData)
Adds a new dataset to be evaluated.
|
boolean |
isComplete()
Check whether every entry has been evaluated
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
printUsage, setOptions
protected Dataset ToEvaluate
public void importDataset(Dataset NewData)
NewData
- Dataset of entries to be evaluatedpublic Dataset extractDataset()
public boolean isComplete()
public void evaluateEntries()
protected abstract void evaluate_protected()
public BaseOracle clone()
clone
in class java.lang.Object