Package org.woped.qualanalysis.soundness.marking

Examples of org.woped.qualanalysis.soundness.marking.Arc


                        equalMarking = m;
                    }
                }

                if (equalMarking == null) {
                    currentMarking.addSuccessor(new Arc(newMarking, transitions[i]));
                    newMarking.setPredecessor(currentMarking);
                    markingsToCheck.add(newMarking);
                } else {
                    currentMarking.addSuccessor(new Arc(equalMarking, transitions[i]));
                }

            }
        }
        mNet.getMarkings().addAll(markings);
View Full Code Here


    marking[1].setInitial(false);
    marking[2].setInitial(true);
    marking[2].setPredecessor(marking[1]);
    marking[1].setPredecessor(marking[0]);
   
    marking[2].addSuccessor(new Arc(marking[1], transitions[2]));
    marking[1].addSuccessor(new Arc(marking[0], transitions[0]));
    marking[1].addSuccessor(new Arc(marking[0], transitions[1]));
    marking[0].addSuccessor(new Arc(marking[2], transitions[3]));
   
    for(int i = 0; i < marking.length; i++)
      markings.add(marking[i]);
  }
View Full Code Here

TOP

Related Classes of org.woped.qualanalysis.soundness.marking.Arc

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.