Examples of ISymbolicCAModel


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

      while ((line = reader.readLine()) != null) {
        builder.append(line);
        builder.append(System.getProperty("line.separator"));
      }

      ISymbolicCAModel model = new SymbolicCAModel();
      model.setFromDocument(new CARulesAntlrDocument(builder.toString()));
      return model;
    } catch (IOException e) {
      SimSystem.report(e);
    } finally {
      BasicUtilities.close(reader);
View Full Code Here

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

  @Override
  public int supportsParameters(ParameterBlock params) {
    Object model = params.getSubBlockValue(AbstractModelWindowFactory.MODEL);
    if (params.getSubBlockValue(AbstractModelWindowFactory.MODEL) instanceof ISymbolicCAModel) {
      ISymbolicCAModel scam = (ISymbolicCAModel) model;

      if (scam == null || scam.getAsDataStructure() == null) {
        return 0;
      }

      ISymbolicCAModelInformation modelInfo = scam.getAsDataStructure();

      if (modelInfo.isWolfram()) {
        return 1;
      }
    }
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.