Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for HasEdge (0.16 sec)

  1. maven-core/src/test/java/org/apache/maven/project/GraphTest.java

            assertTrue(hasEdge(graph5, "a", "b"));
            assertTrue(hasEdge(graph5, "b", "c"));
            assertTrue(hasEdge(graph5, "b", "f"));
            assertTrue(hasEdge(graph5, "f", "g"));
            assertTrue(hasEdge(graph5, "g", "h"));
            assertTrue(hasEdge(graph5, "c", "d"));
            assertTrue(hasEdge(graph5, "d", "e"));
            assertFalse(hasEdge(graph5, "e", "b"));
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 06:02:04 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. src/internal/dag/alg.go

    func (g *Graph) TransitiveReduction() {
    	// For i -> j -> k, if i -> k exists, delete it.
    	for _, i := range g.Nodes {
    		for _, j := range g.Nodes {
    			if g.HasEdge(i, j) {
    				for _, k := range g.Nodes {
    					if g.HasEdge(j, k) {
    						g.DelEdge(i, k)
    					}
    				}
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 15:31:44 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. src/internal/dag/parse.go

    			}
    		}
    	}
    
    	// Complete transitive closure.
    	for _, k := range g.Nodes {
    		for _, i := range g.Nodes {
    			for _, j := range g.Nodes {
    				if i != k && k != j && g.HasEdge(i, k) && g.HasEdge(k, j) {
    					if i == j {
    						// Can only happen along with a "use of X before deps" error above,
    						// but this error is more specific - it makes clear that reordering the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. src/internal/dag/parse_test.go

    	wantEdges := strings.Fields(edges)
    	wantEdgeMap := make(map[string]bool)
    	for _, e := range wantEdges {
    		wantEdgeMap[e] = true
    	}
    
    	for _, n1 := range g.Nodes {
    		for _, n2 := range g.Nodes {
    			got := g.HasEdge(n1, n2)
    			want := wantEdgeMap[n1+"->"+n2]
    			if got && want {
    				t.Logf("%s->%s", n1, n2)
    			} else if got && !want {
    				t.Errorf("%s->%s present but not expected", n1, n2)
    			} else if want && !got {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 15:31:42 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. src/go/build/deps_test.go

    			t.Error(err)
    			continue
    		}
    		if sawImport[pkg] == nil {
    			sawImport[pkg] = map[string]bool{}
    		}
    		var bad []string
    		for _, imp := range imports {
    			sawImport[pkg][imp] = true
    			if !policy.HasEdge(pkg, imp) {
    				bad = append(bad, imp)
    			}
    		}
    		if bad != nil {
    			t.Errorf("unexpected dependency: %s imports %v", pkg, bad)
    		}
    	}
    }
    
    var buildIgnore = []byte("\n//go:build ignore")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar

    addEdge(String, String) throws CycleDetectedExcepti; public void addEdge(Vertex, Vertex) throws CycleDetectedExcepti; public void removeEdge(String, String); public void removeEdge(Vertex, Vertex); public Vertex getVertex(String); public boolean hasEdge(String, String); public java.util.List getChildLabels(String); public java.util.List getParentLabels(String); public Object clone() throws CloneNotSupportedExc; public boolean isConnected(String); public java.util.List getSuccessorLabels(String);...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 160K bytes
    - Viewed (0)
  7. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    addEdge(String, String) throws CycleDetectedExcepti; public void addEdge(Vertex, Vertex) throws CycleDetectedExcepti; public void removeEdge(String, String); public void removeEdge(Vertex, Vertex); public Vertex getVertex(String); public boolean hasEdge(String, String); public java.util.List getChildLabels(String); public java.util.List getParentLabels(String); public Object clone() throws CloneNotSupportedExc; public boolean isConnected(String); public java.util.List getSuccessorLabels(String);...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 164.6K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    addEdge(String, String) throws CycleDetectedExcepti; public void addEdge(Vertex, Vertex) throws CycleDetectedExcepti; public void removeEdge(String, String); public void removeEdge(Vertex, Vertex); public Vertex getVertex(String); public boolean hasEdge(String, String); public java.util.List getChildLabels(String); public java.util.List getParentLabels(String); public Object clone() throws CloneNotSupportedExc; public boolean isConnected(String); public java.util.List getSuccessorLabels(String);...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 164.6K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    addEdge(String, String) throws CycleDetectedExcepti; public void addEdge(Vertex, Vertex) throws CycleDetectedExcepti; public void removeEdge(String, String); public void removeEdge(Vertex, Vertex); public Vertex getVertex(String); public boolean hasEdge(String, String); public java.util.List getChildLabels(String); public java.util.List getParentLabels(String); public Object clone() throws CloneNotSupportedExc; public boolean isConnected(String); public java.util.List getSuccessorLabels(String);...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 164.6K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    addEdge(String, String) throws CycleDetectedExcepti; public void addEdge(Vertex, Vertex) throws CycleDetectedExcepti; public void removeEdge(String, String); public void removeEdge(Vertex, Vertex); public Vertex getVertex(String); public boolean hasEdge(String, String); public java.util.List getChildLabels(String); public java.util.List getParentLabels(String); public Object clone() throws CloneNotSupportedExc; public boolean isConnected(String); public java.util.List getSuccessorLabels(String);...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 164.6K bytes
    - Viewed (0)
Back to top