Package org.jamesii.model.carules.symbolic

Examples of org.jamesii.model.carules.symbolic.DefaultSymbolicCAModelInformation


  @Override
  public void prepareModelSaving() {
    ISymbolicCAModelInformation ds = getModel().getAsDataStructure();

    DefaultSymbolicCAModelInformation mi =
        new DefaultSymbolicCAModelInformation(ds.getDimensions(),
            ds.getNeighborhood(), ds.getRules(), ds.getStates(),
            ds.isWolfram(), gridModel.getIWolframRule(), ds.getModelComment(),
            null);

    getModel().setFromDataStructure(mi);
View Full Code Here


  public void setIWolframRule(int wolframRule) {
    iWolframRule = wolframRule;

    ISymbolicCAModelInformation ds = caModel.getAsDataStructure();

    DefaultSymbolicCAModelInformation mi =
        new DefaultSymbolicCAModelInformation(ds.getDimensions(),
            ds.getNeighborhood(), ds.getRules(), ds.getStates(),
            ds.isWolfram(), wolframRule, ds.getModelComment(), null);

    caModel.setFromDataStructure(mi);
    for (int i = 0; i < 8; i++) {
View Full Code Here

TOP

Related Classes of org.jamesii.model.carules.symbolic.DefaultSymbolicCAModelInformation

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.