Package org.woped.qualanalysis.soundness.datamodel

Examples of org.woped.qualanalysis.soundness.datamodel.AbstractNode


        HashSet<AbstractNode> uncheckedCompEntries = (HashSet<AbstractNode>) component.clone();
        uncheckedCompEntries.removeAll(checkedCompEntries);
       
        while (!uncheckedCompEntries.isEmpty()) {
            // 1.Schritt
            AbstractNode node = (AbstractNode) uncheckedCompEntries.iterator().next();
            checkedCompEntries.add(node);
            // 2.Schritt
            if (PlaceNode.class == node.getClass()) {
                for (AbstractNode abstractNode : node.getPostNodes()) {
                    component.add(abstractNode);
                }
                for (AbstractNode abstractNode : node.getPreNodes()) {
                    component.add(abstractNode);
                }
            }
            // 3.Schritt
            else
                if (TransitionNode.class == node.getClass()) {
                    Set<AbstractNode> postNodes = node.getPostNodes();
                    if (postNodes.size() == 1) {
                        component.add(postNodes.iterator().next());
                    }
                    // 4.Schritt
                    if (postNodes.size() > 1) {
View Full Code Here

TOP

Related Classes of org.woped.qualanalysis.soundness.datamodel.AbstractNode

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.