Package org.woped.qualanalysis.structure.components

Examples of org.woped.qualanalysis.structure.components.FlowNode


    }

    // ! Adds a node to the low level net and duplicates it
    private void ExpandAndAddNode(LowLevelNet lolnet, AbstractPetriNetElementModel i) {
        FlowNode k1 = new FlowNode(i, true);
        lolnet.addNode(k1);
        FlowNode k2 = new FlowNode(i, false);
        lolnet.addNode(k2);
        lolnet.addArc(k1, k2);
    }
View Full Code Here


    // ! outgoing arcs to the second flow node and links
    // ! it with its successors, respectively.
    private void AddOutgoingArcs(LowLevelNet lolnet, AbstractPetriNetElementModel i) {
        Set<AbstractPetriNetElementModel> successors = NetAlgorithms.getDirectlyConnectedNodes(i,
                NetAlgorithms.connectionTypeOUTBOUND);
        FlowNode source = lolnet.getNodeForElement(i, false);
        for (Iterator<AbstractPetriNetElementModel> s = successors.iterator(); s.hasNext();) {
            AbstractPetriNetElementModel t = s.next();
            FlowNode target = lolnet.getNodeForElement(t, true);

            lolnet.addArc(source, target);
        }
    }
View Full Code Here

    }

    private void AddAalstNetOutgoingArcs(LowLevelNet lolnet, AbstractPetriNetElementModel i) {
        Map<String, AbstractPetriNetElementModel> successors = this.m_currentEditor.getModelProcessor().getElementContainer()
                .getTargetElements(i.getId());
        FlowNode source = lolnet.getNodeForElement(i, false);
        for (Iterator<Map.Entry<String, AbstractPetriNetElementModel>> s = successors.entrySet().iterator(); s.hasNext();) {
            AbstractPetriNetElementModel t = s.next().getValue();
            FlowNode target = lolnet.getNodeForElement(t, true);

            lolnet.addArc(source, target);
        }
    }
View Full Code Here

                    } else {
                        NetAlgorithms.getArcConfiguration(secondNode, arcConfig);
                    }

                    if (arcConfig.m_numIncoming > 1) {
                        FlowNode source = n.getNodeForElement(firstNode, false);
                        FlowNode sink = n.getNodeForElement(secondNode, true);
                        // Depending on the mode of operation,
                        // a corresponding flow node might not exist
                        // (e.g. inner places and transition when analyzing van der Aalst nets)
                        // Just ignore those cases
                        if ((source != null) && (sink != null)) {
View Full Code Here

TOP

Related Classes of org.woped.qualanalysis.structure.components.FlowNode

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.