Package org.woped.qualanalysis.reachabilitygraph.gui

Examples of org.woped.qualanalysis.reachabilitygraph.gui.ReachabilityJGraph


  protected void init() {
    model = new DefaultGraphModel();
    view = new GraphLayoutCache(model, new ReachabilityGraphViewFactory());
    view.setAutoSizeOnValueChange(true);
    view.setSelectsAllInsertedCells(false);
    graph = new ReachabilityJGraph(model, view);
    graph.addMouseListener(new ReachabilityCellListener(graph, editor));
  }
View Full Code Here


 
  @SuppressWarnings("unused")
  private double calculateCM(){
    ReachabilityGraphModelUsingMarkingNet reach = new ReachabilityGraphModelUsingMarkingNet(editor);
    IMarkingNet net = reach.getMarkingNet();
    ReachabilityJGraph graph = reach.getGraph();
    return AbstractReachabilityGraphModel.edgeCount(graph)-AbstractReachabilityGraphModel.verticeCount(graph)+calculateStrongReaches(net);
  }
View Full Code Here

TOP

Related Classes of org.woped.qualanalysis.reachabilitygraph.gui.ReachabilityJGraph

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.