Package org.jamesii.model.carules

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

Related Classes of org.jamesii.model.carules.CARulesModel

Copyright © 2018 www.massapicom. 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.