Package moa.gui
Class BatchCmd
- java.lang.Object
-
- moa.gui.BatchCmd
-
- All Implemented Interfaces:
EventListener
,ClusterEventListener
public class BatchCmd extends Object implements ClusterEventListener
-
-
Field Summary
Fields Modifier and Type Field Description boolean
useMicroGT
-
Constructor Summary
Constructors Constructor Description BatchCmd(AbstractClusterer clusterer, ClusteringStream stream, MeasureCollection[] measures, int totalInstances)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
changeCluster(ClusterEvent e)
static void
exportCSV(String filepath, ArrayList<ClusterEvent> clusterEvents, MeasureCollection[] measures, int horizon)
static void
main(String[] args)
void
run()
static void
runBatch(ClusteringStream stream, AbstractClusterer clusterer, boolean[] measureCollection, int amountInstances, String outputFile)
-
-
-
Constructor Detail
-
BatchCmd
public BatchCmd(AbstractClusterer clusterer, ClusteringStream stream, MeasureCollection[] measures, int totalInstances)
-
-
Method Detail
-
main
public static void main(String[] args)
-
runBatch
public static void runBatch(ClusteringStream stream, AbstractClusterer clusterer, boolean[] measureCollection, int amountInstances, String outputFile)
-
run
public void run()
-
changeCluster
public void changeCluster(ClusterEvent e)
- Specified by:
changeCluster
in interfaceClusterEventListener
-
exportCSV
public static void exportCSV(String filepath, ArrayList<ClusterEvent> clusterEvents, MeasureCollection[] measures, int horizon)
-
-