Examples of ClusterElement


Examples of org.onebusaway.uk.atco_cif.ClusterElement

        _locationById.put(location.getLocationId(), location);
      } else if (element instanceof AdditionalLocationElement) {
        AdditionalLocationElement location = (AdditionalLocationElement) element;
        _additionalLocationById.put(location.getLocationId(), location);
      } else if (element instanceof ClusterElement) {
        ClusterElement cluster = (ClusterElement) element;
        _clusterIdByLocationId.put(cluster.getLocationId(), cluster.getId());
      } else if (element instanceof VehicleTypeElement) {
        VehicleTypeElement vehicle = (VehicleTypeElement) element;
        _vehicleTypesById.put(vehicle.getId(), vehicle);
      } else if (element instanceof RouteDescriptionElement) {
        RouteDescriptionElement route = (RouteDescriptionElement) element;
View Full Code Here

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

                            // flow = 2; //dummy Zeile zum Testen
                            if (flow > 1) {
                                // Handle gefunden
                                Set<ClusterElement> handlePair = new HashSet<ClusterElement>();

                                handlePair.add(new ClusterElement(firstNode, true));
                                handlePair.add(new ClusterElement(secondNode, false));
                                result.add(handlePair);
                            }
                        }
                    }
                }
View Full Code Here

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

    }

    // ! This method creates handle clusters on the basis of handle pairs
    // ! Example: Pair1[A,B], Pair2[B,C] -> new Pair[A,B,C]
    private void createHandleClusters() {
        ClusterElement currentNode = null;
        boolean dirty = true;
        Set<ClusterElement> clusterA = null;
        Set<ClusterElement> clusterB = null;

        // Test 1, list handle pairs:
View Full Code Here

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

     
      // Iterator for Handles
      Iterator<ClusterElement> handleClusterIter = handleClusterSetIter.next().iterator();
      while (handleClusterIter.hasNext()){
        // get current FlowNode element
        ClusterElement element = handleClusterIter.next();
        // refer from current FlowNode element to its parent PetriNet element
        // if the actual element cannot be found in the current focus window
        AbstractPetriNetElementModel highlightElement = element.m_element;
        AbstractPetriNetElementModel owningElement = null;
        if  ((!mediatorReference.getUIReference().getEditorFocus().getModelProcessor().getElementContainer().containsElement(element.m_element.getId())&&
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.