Du kannst nicht mehr als 25 Themen auswählen
Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
284 Zeilen
18 KiB
HTML
284 Zeilen
18 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (version 1.7.0_79) on Sun Apr 03 00:28:31 PDT 2016 -->
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>Uses of Interface org.jgrapht.GraphPath (JGraphT : a free Java graph library)</title>
|
|
<meta name="date" content="2016-04-03">
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="Uses of Interface org.jgrapht.GraphPath (JGraphT : a free Java graph library)";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar_top">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="../package-summary.html">Package</a></li>
|
|
<li><a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">Class</a></li>
|
|
<li class="navBarCell1Rev">Use</li>
|
|
<li><a href="../package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev</li>
|
|
<li>Next</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?org/jgrapht/class-use/GraphPath.html" target="_top">Frames</a></li>
|
|
<li><a href="GraphPath.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<a name="skip-navbar_top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<div class="header">
|
|
<h2 title="Uses of Interface org.jgrapht.GraphPath" class="title">Uses of Interface<br>org.jgrapht.GraphPath</h2>
|
|
</div>
|
|
<div class="classUseContainer">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
|
|
<caption><span>Packages that use <a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Package</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="#org.jgrapht">org.jgrapht</a></td>
|
|
<td class="colLast">
|
|
<div class="block">The front-end API's interfaces and classes, including <a href="../../../org/jgrapht/Graph.html" title="interface in org.jgrapht"><code>Graph</code></a>,
|
|
<a href="../../../org/jgrapht/DirectedGraph.html" title="interface in org.jgrapht"><code>DirectedGraph</code></a> and <a href="../../../org/jgrapht/UndirectedGraph.html" title="interface in org.jgrapht"><code>UndirectedGraph</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><a href="#org.jgrapht.alg">org.jgrapht.alg</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Algorithms provided with <b>JGraphT</b>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="#org.jgrapht.graph">org.jgrapht.graph</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Implementations of various graphs.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="org.jgrapht">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a> in <a href="../../../org/jgrapht/package-summary.html">org.jgrapht</a></h3>
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../../org/jgrapht/package-summary.html">org.jgrapht</a> with parameters of type <a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <V,E> <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><V></code></td>
|
|
<td class="colLast"><span class="strong">Graphs.</span><code><strong><a href="../../../org/jgrapht/Graphs.html#getPathVertexList(org.jgrapht.GraphPath)">getPathVertexList</a></strong>(<a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a><V,E> path)</code>
|
|
<div class="block">Gets the list of vertices visited by a path.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList"><a name="org.jgrapht.alg">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a> in <a href="../../../org/jgrapht/alg/package-summary.html">org.jgrapht.alg</a></h3>
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../../org/jgrapht/alg/package-summary.html">org.jgrapht.alg</a> that return <a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a><<a href="../../../org/jgrapht/alg/DijkstraShortestPath.html" title="type parameter in DijkstraShortestPath">V</a>,<a href="../../../org/jgrapht/alg/DijkstraShortestPath.html" title="type parameter in DijkstraShortestPath">E</a>></code></td>
|
|
<td class="colLast"><span class="strong">DijkstraShortestPath.</span><code><strong><a href="../../../org/jgrapht/alg/DijkstraShortestPath.html#getPath()">getPath</a></strong>()</code>
|
|
<div class="block">Return the path found.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a><<a href="../../../org/jgrapht/alg/FloydWarshallShortestPaths.html" title="type parameter in FloydWarshallShortestPaths">V</a>,<a href="../../../org/jgrapht/alg/FloydWarshallShortestPaths.html" title="type parameter in FloydWarshallShortestPaths">E</a>></code></td>
|
|
<td class="colLast"><span class="strong">FloydWarshallShortestPaths.</span><code><strong><a href="../../../org/jgrapht/alg/FloydWarshallShortestPaths.html#getShortestPath(V,%20V)">getShortestPath</a></strong>(<a href="../../../org/jgrapht/alg/FloydWarshallShortestPaths.html" title="type parameter in FloydWarshallShortestPaths">V</a> a,
|
|
<a href="../../../org/jgrapht/alg/FloydWarshallShortestPaths.html" title="type parameter in FloydWarshallShortestPaths">V</a> b)</code>
|
|
<div class="block">Get the shortest path between two vertices.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a><<a href="../../../org/jgrapht/alg/AStarShortestPath.html" title="type parameter in AStarShortestPath">V</a>,<a href="../../../org/jgrapht/alg/AStarShortestPath.html" title="type parameter in AStarShortestPath">E</a>></code></td>
|
|
<td class="colLast"><span class="strong">AStarShortestPath.</span><code><strong><a href="../../../org/jgrapht/alg/AStarShortestPath.html#getShortestPath(V,%20V,%20org.jgrapht.alg.interfaces.AStarAdmissibleHeuristic)">getShortestPath</a></strong>(<a href="../../../org/jgrapht/alg/AStarShortestPath.html" title="type parameter in AStarShortestPath">V</a> sourceVertex,
|
|
<a href="../../../org/jgrapht/alg/AStarShortestPath.html" title="type parameter in AStarShortestPath">V</a> targetVertex,
|
|
<a href="../../../org/jgrapht/alg/interfaces/AStarAdmissibleHeuristic.html" title="interface in org.jgrapht.alg.interfaces">AStarAdmissibleHeuristic</a><<a href="../../../org/jgrapht/alg/AStarShortestPath.html" title="type parameter in AStarShortestPath">V</a>> admissibleHeuristic)</code>
|
|
<div class="block">Calculates (and returns) the shortest path from the sourceVertex to the
|
|
targetVertex.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../../org/jgrapht/alg/package-summary.html">org.jgrapht.alg</a> that return types with arguments of type <a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a><<a href="../../../org/jgrapht/alg/AllDirectedPaths.html" title="type parameter in AllDirectedPaths">V</a>,<a href="../../../org/jgrapht/alg/AllDirectedPaths.html" title="type parameter in AllDirectedPaths">E</a>>></code></td>
|
|
<td class="colLast"><span class="strong">AllDirectedPaths.</span><code><strong><a href="../../../org/jgrapht/alg/AllDirectedPaths.html#getAllPaths(java.util.Set,%20java.util.Set,%20boolean,%20java.lang.Integer)">getAllPaths</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../org/jgrapht/alg/AllDirectedPaths.html" title="type parameter in AllDirectedPaths">V</a>> sourceVertices,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../org/jgrapht/alg/AllDirectedPaths.html" title="type parameter in AllDirectedPaths">V</a>> targetVertices,
|
|
boolean simplePathsOnly,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> maxPathLength)</code>
|
|
<div class="block">Calculate (and return) all paths from the source vertices to the target
|
|
vertices.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a><<a href="../../../org/jgrapht/alg/AllDirectedPaths.html" title="type parameter in AllDirectedPaths">V</a>,<a href="../../../org/jgrapht/alg/AllDirectedPaths.html" title="type parameter in AllDirectedPaths">E</a>>></code></td>
|
|
<td class="colLast"><span class="strong">AllDirectedPaths.</span><code><strong><a href="../../../org/jgrapht/alg/AllDirectedPaths.html#getAllPaths(V,%20V,%20boolean,%20java.lang.Integer)">getAllPaths</a></strong>(<a href="../../../org/jgrapht/alg/AllDirectedPaths.html" title="type parameter in AllDirectedPaths">V</a> sourceVertex,
|
|
<a href="../../../org/jgrapht/alg/AllDirectedPaths.html" title="type parameter in AllDirectedPaths">V</a> targetVertex,
|
|
boolean simplePathsOnly,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> maxPathLength)</code>
|
|
<div class="block">Calculate (and return) all paths from the source vertex to the target
|
|
vertex.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a><<a href="../../../org/jgrapht/alg/KShortestPaths.html" title="type parameter in KShortestPaths">V</a>,<a href="../../../org/jgrapht/alg/KShortestPaths.html" title="type parameter in KShortestPaths">E</a>>></code></td>
|
|
<td class="colLast"><span class="strong">KShortestPaths.</span><code><strong><a href="../../../org/jgrapht/alg/KShortestPaths.html#getPaths(V)">getPaths</a></strong>(<a href="../../../org/jgrapht/alg/KShortestPaths.html" title="type parameter in KShortestPaths">V</a> endVertex)</code>
|
|
<div class="block">Returns the k shortest simple paths in increasing order of weight.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a><<a href="../../../org/jgrapht/alg/FloydWarshallShortestPaths.html" title="type parameter in FloydWarshallShortestPaths">V</a>,<a href="../../../org/jgrapht/alg/FloydWarshallShortestPaths.html" title="type parameter in FloydWarshallShortestPaths">E</a>>></code></td>
|
|
<td class="colLast"><span class="strong">FloydWarshallShortestPaths.</span><code><strong><a href="../../../org/jgrapht/alg/FloydWarshallShortestPaths.html#getShortestPaths()">getShortestPaths</a></strong>()</code>
|
|
<div class="block">Get all shortest paths in the graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a><<a href="../../../org/jgrapht/alg/FloydWarshallShortestPaths.html" title="type parameter in FloydWarshallShortestPaths">V</a>,<a href="../../../org/jgrapht/alg/FloydWarshallShortestPaths.html" title="type parameter in FloydWarshallShortestPaths">E</a>>></code></td>
|
|
<td class="colLast"><span class="strong">FloydWarshallShortestPaths.</span><code><strong><a href="../../../org/jgrapht/alg/FloydWarshallShortestPaths.html#getShortestPaths(V)">getShortestPaths</a></strong>(<a href="../../../org/jgrapht/alg/FloydWarshallShortestPaths.html" title="type parameter in FloydWarshallShortestPaths">V</a> v)</code>
|
|
<div class="block">Get shortest paths from a vertex to all other vertices in the graph.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList"><a name="org.jgrapht.graph">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a> in <a href="../../../org/jgrapht/graph/package-summary.html">org.jgrapht.graph</a></h3>
|
|
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
|
|
<caption><span>Classes in <a href="../../../org/jgrapht/graph/package-summary.html">org.jgrapht.graph</a> that implement <a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">GraphPath</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Class and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><strong><a href="../../../org/jgrapht/graph/GraphPathImpl.html" title="class in org.jgrapht.graph">GraphPathImpl</a><V,E></strong></code>
|
|
<div class="block">GraphPathImpl is a default implementation of <a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht"><code>GraphPath</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><strong><a href="../../../org/jgrapht/graph/SimpleGraphPath.html" title="class in org.jgrapht.graph">SimpleGraphPath</a><V,E></strong></code>
|
|
<div class="block">A vertex-based representation of a simple path.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar_bottom">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="../package-summary.html">Package</a></li>
|
|
<li><a href="../../../org/jgrapht/GraphPath.html" title="interface in org.jgrapht">Class</a></li>
|
|
<li class="navBarCell1Rev">Use</li>
|
|
<li><a href="../package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev</li>
|
|
<li>Next</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?org/jgrapht/class-use/GraphPath.html" target="_top">Frames</a></li>
|
|
<li><a href="GraphPath.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<p class="legalCopy"><small>Copyright © 2016. All rights reserved.</small></p>
|
|
</body>
|
|
</html>
|