@OPERATION
  void init() {

    new Thread((Runnable) model).start();
    // defineObsProperty("clusterAssign",calculate());
    defineObsProperty("clusterAlloc", model.getAlloc());
    // logger.info("HHH init passou alloc");
    defineObsProperty("clusterCenters", model.getCenters());
    // logger.info("HHH init passou centers");
    defineObsProperty("clusterData", model.getData());
    // logger.info("HHH init passou data");
    defineObsProperty("clusterMap", model.getMap());
    // logger.info("HHH init passou map");
    defineObsProperty("clusterRadius", model.getMaxDist());
    // logger.info("HHH init passou maxdist");
    defineObsProperty("clusterNumCows", model.getNumCows());
    // logger.info("HHH init passou humcows");
    defineObsProperty("clusterNumber", model.getNumberOfCluster());
    // logger.info("HHH init passou numberofcluster");
    defineObsProperty("clusterPrefNCows", model.getPrefNCows());
    // logger.info("HHH init passou prefncows");
    defineObsProperty("clusterPrefRadius", model.getPrefRadius());
    // logger.info("HHH init passou prefradius");
    defineObsProperty("clusterPrefKPTC", model.getPrefkPTC());
    // logger.info("HHH init passou prefkptc");
    logger.info("inicializou");
  }
 @OPERATION
 void clusterRun() {
   // logger.info("HHH runing");
   new Thread((Runnable) model).start();
 }