public class CLIOnlineFileMinerPlugin extends OnlineFileMinerPlugin
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATE_FORMAT_NOW
This field contains the date format for the logging text.
|
converter, miner, minerRunning
Constructor and Description |
---|
CLIOnlineFileMinerPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
inc()
This method is called each time an event has been processed
|
void |
mine(OnlineMiningAlgorithm algorithm,
MinerConfiguration configuration)
This is the actual mining method
|
void |
notifyFinish()
This method is called when the stream connection is over
|
void |
onModelUpdate(java.lang.Object newModel)
This method is called when the algorithm generates a new model
|
void |
onNewFitnessValue(double newFitnessValue)
This method is called when the algorithm generates a new fitness value
|
void |
onNewPrecisionValue(double newPrecisionValue)
This method is called when the algorithm generates a new precision value
|
start
stop
public static final java.lang.String DATE_FORMAT_NOW
public void mine(OnlineMiningAlgorithm algorithm, MinerConfiguration configuration) throws OnlineException
algorithm
- the mining algorithmconfiguration
- the mining configurationMissingConfigurationException
WrongConfigurationException
OnlineException
public void inc()
OnlineMinerPlugin
inc
in class OnlineMinerPlugin
public void notifyFinish()
OnlineMinerPlugin
notifyFinish
in class OnlineMinerPlugin
public void onModelUpdate(java.lang.Object newModel)
OnlineMinerPlugin
onModelUpdate
in class OnlineMinerPlugin
newModel
- the new model generatedpublic void onNewFitnessValue(double newFitnessValue)
OnlineMinerPlugin
onNewFitnessValue
in class OnlineMinerPlugin
newFitnessValue
- the new fitness valuepublic void onNewPrecisionValue(double newPrecisionValue)
OnlineMinerPlugin
onNewPrecisionValue
in class OnlineMinerPlugin