Examples of CARulesModel


Examples of org.jamesii.model.carules.CARulesModel

        // set cells from parameters
        cellList = grid.getCellList();
      }

      CARulesModel model = null;
      if (gridParameters == null) {
        model =
            new CARulesModel(f.getName(), info.getDimensions(),
                info.getRules(), info.getStates(), info.getNeighborhood(),
                cellList, standardSize, false);
      } else {

        gridParameters.addSubBl(AbstractGridFactory.DIMENSION,
            info.getDimensions());

        BaseGridFactory gridFactory =
            SimSystem.getRegistry().getFactory(AbstractGridFactory.class,
                gridParameters);

        model =
            new CARulesModel(f.getName(), info.getDimensions(),
                info.getRules(), info.getStates(), info.getNeighborhood(),
                cellList, standardSize, false, gridFactory);
      }

      return model;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.