Examples of outgoingEdgesOf()


Examples of cascading.flow.planner.graph.ElementGraph.outgoingEdgesOf()

      ElementGraph sinkElementGraph = sinkProcess.getElementGraph();
      ElementGraph sourceElementGraph = sourceProcess.getElementGraph();

      this.incomingOrdinals = createOrdinals( sinkElementGraph.incomingEdgesOf( flowElement ) );
      this.outgoingOrdinals = createOrdinals( sourceElementGraph.outgoingEdgesOf( flowElement ) );

      if( sinkElementGraph instanceof AnnotatedGraph && ( (AnnotatedGraph) sinkElementGraph ).hasAnnotations() )
        this.sinkAnnotations = ( (AnnotatedGraph) sinkElementGraph ).getAnnotations().getKeysFor( flowElement );

      if( sourceElementGraph instanceof AnnotatedGraph && ( (AnnotatedGraph) sourceElementGraph ).hasAnnotations() )
View Full Code Here

Examples of cascading.flow.planner.process.FlowNodeGraph.outgoingEdgesOf()

    Set<ProcessGraph.ProcessEdge> incomingEdges = flowNodeGraph.incomingEdgesOf( flowNode );

    for( ProcessGraph.ProcessEdge processEdge : incomingEdges )
      conf.set( "cascading.node.source." + processEdge.getID(), flowNodeGraph.getEdgeSource( processEdge ).getID() );

    Set<ProcessGraph.ProcessEdge> outgoingEdges = flowNodeGraph.outgoingEdgesOf( flowNode );

    for( ProcessGraph.ProcessEdge processEdge : outgoingEdges )
      conf.set( "cascading.node.sink." + processEdge.getID(), flowNodeGraph.getEdgeTarget( processEdge ).getID() );
    }
View Full Code Here

Examples of cu.repsystestbed.graphs.Graph.outgoingEdgesOf()

     
      Graph transitiveGraph = m_graph2Listen.getTransitiveClosureGraph();
      
      for(Agent src : agents)
      {
        Set<TestbedEdge> outgoingEdges = transitiveGraph.outgoingEdgesOf(src);
        for(TestbedEdge e : outgoingEdges)
        {
          double trustScore = calculateTrustScore(src, (Agent)e.sink);
          if(!assertVariablePrecondition(trustScore))
          {
View Full Code Here

Examples of net.sf.graphiti.model.Graph.outgoingEdgesOf()

    if (getModel() instanceof Vertex) {
      Vertex vertex = (Vertex) getModel();
      Graph parent = vertex.getParent();

      // we get the *output* dependencies of vertex
      Set<Edge> edges = parent.outgoingEdgesOf(vertex);

      // return the dependencies
      List dependencies = new ArrayList(edges);
      return dependencies;
    }
View Full Code Here

Examples of net.sf.graphiti.model.Graph.outgoingEdgesOf()

      String port = (String) edge
          .getValue(ObjectType.PARAMETER_TARGET_PORT);
      figure.addInputPort(port);
    }

    for (Edge edge : parent.outgoingEdgesOf(vertex)) {
      String port = (String) edge
          .getValue(ObjectType.PARAMETER_SOURCE_PORT);
      figure.addOutputPort(port);
    }
View Full Code Here

Examples of opennlp.ccg.hylo.graph.LFGraph.outgoingEdgesOf()

     
      LFGraph graph = localContext.getGraph();
     
      @SuppressWarnings("unchecked")
      Set<LFEdge> outgoingEdges = graph.containsVertex(localContext.vertex)
          ? graph.outgoingEdgesOf(localContext.vertex) : Collections.EMPTY_SET;
     
      if(outgoingEdges.isEmpty()) { // leaf?
        setPredicateName(localContext);
      }
      else {
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.