Files
upo-graphs/doc/berack96/lib/graph/class-use/Graph.html
Giacomo Bertolazzi ddc81330ab dsadasdasd
* added a method where you can get all the marks
* implemented and tested
* moved main
* changed README
* builded JavaDoc
* builded jar
2019-06-21 23:50:34 +02:00

480 lines
37 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 (1.8.0_144) on Fri Jun 21 23:35:57 CEST 2019 -->
<title>Uses of Interface berack96.lib.graph.Graph</title>
<meta name="date" content="2019-06-21">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Interface berack96.lib.graph.Graph";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<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="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">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-files/index-1.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?berack96/lib/graph/class-use/Graph.html" target="_top">Frames</a></li>
<li><a href="Graph.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;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 berack96.lib.graph.Graph" class="title">Uses of Interface<br>berack96.lib.graph.Graph</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a></span><span class="tabEnd">&nbsp;</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="#berack96.lib.graph">berack96.lib.graph</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#berack96.lib.graph.impl">berack96.lib.graph.impl</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#berack96.lib.graph.models">berack96.lib.graph.models</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#berack96.lib.graph.view">berack96.lib.graph.view</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#berack96.lib.graph.view.vertex">berack96.lib.graph.view.vertex</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#berack96.lib.graph.visit">berack96.lib.graph.visit</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#berack96.lib.graph.visit.impl">berack96.lib.graph.visit.impl</a></td>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="berack96.lib.graph">
<!-- -->
</a>
<h3>Uses of <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a> in <a href="../../../../berack96/lib/graph/package-summary.html">berack96.lib.graph</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../berack96/lib/graph/package-summary.html">berack96.lib.graph</a> that return <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a></span><span class="tabEnd">&nbsp;</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="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/Graph.html" title="type parameter in Graph">V</a>,<a href="../../../../berack96/lib/graph/Graph.html" title="type parameter in Graph">W</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Graph.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/Graph.html#subGraph-java.lang.Object...-">subGraph</a></span>(java.lang.Object...&nbsp;marker)</code>
<div class="block">Get a sub-graph of the current one with only the vertex marked with the selected markers.<br>
Each vertex will have all his edges, but only the ones with the destination marked with the same marker.<br>
If the marker is not specified or is null then the returning graph will have all the vertices that are not marked by any marker.<br>
If the graph doesn't contain any vertex with that marker then an empty graph is returned.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/Graph.html" title="type parameter in Graph">V</a>,<a href="../../../../berack96/lib/graph/Graph.html" title="type parameter in Graph">W</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Graph.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/Graph.html#subGraph-V-int-">subGraph</a></span>(<a href="../../../../berack96/lib/graph/Graph.html" title="type parameter in Graph">V</a>&nbsp;source,
int&nbsp;depth)</code>
<div class="block">Get a sub-graph of the current one based on the maximum depth that is given.<br>
If the depth is 1 then only the source and it's children will be in the sub-graph.<br>
If the depth is 2 then only the source, it's children and it's children of it's children will be in the sub-graph.<br>
And so on.<br>
Of course the sub-graph will contain the edges that link the vertices, but only the one selected.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/Graph.html" title="type parameter in Graph">V</a>,<a href="../../../../berack96/lib/graph/Graph.html" title="type parameter in Graph">W</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Graph.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/Graph.html#transpose--">transpose</a></span>()</code>
<div class="block">This method will create a new Graph that is the transposed version of the original.<br>
At the end of this method the new graph will have all the edges inverted in orientation.<br>
Example: if the graph G contains (V1, V2, V3) as vertex, and (V1-&gt;V2, V3-&gt;V2) as edges,
the transpose graph G' will contain (V1, V2, V3) as vertex, and (V2-&gt;V1, V2-&gt;V3) as edges.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../berack96/lib/graph/package-summary.html">berack96.lib.graph</a> with parameters of type <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a></span><span class="tabEnd">&nbsp;</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 &lt;V,W extends java.lang.Number&gt;<br>java.lang.String</code></td>
<td class="colLast"><span class="typeNameLabel">Graph.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/Graph.html#load-berack96.lib.graph.Graph-java.lang.String-java.lang.Class-java.lang.Class-">load</a></span>(<a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;V,W&gt;&nbsp;graph,
java.lang.String&nbsp;file,
java.lang.Class&lt;V&gt;&nbsp;classV,
java.lang.Class&lt;W&gt;&nbsp;classW)</code>
<div class="block">Load an already saved graph in an instance of a graph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><span class="typeNameLabel">Graph.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/Graph.html#save-berack96.lib.graph.Graph-java.lang.String-">save</a></span>(<a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;?,?&gt;&nbsp;graph,
java.lang.String&nbsp;file)</code>
<div class="block">Save the Graph passed as input to a file inserted as parameter.<br>
The resulting file is a Json string representing all the graph.<br>
If the directory for getting through the file do not exist,<br>
then it is created.<br>
For now the marks are not included.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><span class="typeNameLabel">Graph.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/Graph.html#save-berack96.lib.graph.Graph-java.lang.String-java.lang.String-">save</a></span>(<a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;?,?&gt;&nbsp;graph,
java.lang.String&nbsp;other,
java.lang.String&nbsp;file)</code>
<div class="block">Save the Graph passed as input to a file inserted as parameter.<br>
The resulting file is a Json string representing all the graph.<br>
If the directory for getting through the file do not exist,<br>
then it is created.<br>
For now the marks are not included.<br>
The additional parameter is used if you want to save other as well as the graph.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../berack96/lib/graph/package-summary.html">berack96.lib.graph</a> with parameters of type <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/Vertex.html#Vertex-berack96.lib.graph.Graph-V-">Vertex</a></span>(<a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/Vertex.html" title="type parameter in Vertex">V</a>,?&gt;&nbsp;graph,
<a href="../../../../berack96/lib/graph/Vertex.html" title="type parameter in Vertex">V</a>&nbsp;vertex)</code>
<div class="block">Get a Vertex linked with the graph</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="berack96.lib.graph.impl">
<!-- -->
</a>
<h3>Uses of <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a> in <a href="../../../../berack96/lib/graph/impl/package-summary.html">berack96.lib.graph.impl</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../../../../berack96/lib/graph/impl/package-summary.html">berack96.lib.graph.impl</a> that implement <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a></span><span class="tabEnd">&nbsp;</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&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/impl/AdjGraph.html" title="class in berack96.lib.graph.impl">AdjGraph</a>&lt;V,W extends java.lang.Number&gt;</span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/impl/MapGraph.html" title="class in berack96.lib.graph.impl">MapGraph</a>&lt;V,W extends java.lang.Number&gt;</span></code>
<div class="block">Graph that uses HashMap for vertices and edges<br>
More specifically it utilizes a Map containing all the vertices mapped to all their edges<br>
Technically this version of the graph combine the fast adding/removing of the edges of the Matrix implementation,
with the low memory and fast adding/removing of vertices of the Linked List implementation.<br>
This happen if the HashMap is not reallocated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/impl/MatrixGraph.html" title="class in berack96.lib.graph.impl">MatrixGraph</a>&lt;V,W extends java.lang.Number&gt;</span></code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../berack96/lib/graph/impl/package-summary.html">berack96.lib.graph.impl</a> that return <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a></span><span class="tabEnd">&nbsp;</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="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/impl/MatrixGraph.html" title="type parameter in MatrixGraph">V</a>,<a href="../../../../berack96/lib/graph/impl/MatrixGraph.html" title="type parameter in MatrixGraph">W</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">MatrixGraph.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/impl/MatrixGraph.html#subGraph-java.lang.Object...-">subGraph</a></span>(java.lang.Object...&nbsp;marker)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/impl/MapGraph.html" title="type parameter in MapGraph">V</a>,<a href="../../../../berack96/lib/graph/impl/MapGraph.html" title="type parameter in MapGraph">W</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">MapGraph.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/impl/MapGraph.html#subGraph-java.lang.Object...-">subGraph</a></span>(java.lang.Object...&nbsp;marker)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/impl/AdjGraph.html" title="type parameter in AdjGraph">V</a>,<a href="../../../../berack96/lib/graph/impl/AdjGraph.html" title="type parameter in AdjGraph">W</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">AdjGraph.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/impl/AdjGraph.html#subGraph-java.lang.Object...-">subGraph</a></span>(java.lang.Object...&nbsp;marker)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/impl/MatrixGraph.html" title="type parameter in MatrixGraph">V</a>,<a href="../../../../berack96/lib/graph/impl/MatrixGraph.html" title="type parameter in MatrixGraph">W</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">MatrixGraph.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/impl/MatrixGraph.html#subGraph-V-int-">subGraph</a></span>(<a href="../../../../berack96/lib/graph/impl/MatrixGraph.html" title="type parameter in MatrixGraph">V</a>&nbsp;source,
int&nbsp;depth)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/impl/MapGraph.html" title="type parameter in MapGraph">V</a>,<a href="../../../../berack96/lib/graph/impl/MapGraph.html" title="type parameter in MapGraph">W</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">MapGraph.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/impl/MapGraph.html#subGraph-V-int-">subGraph</a></span>(<a href="../../../../berack96/lib/graph/impl/MapGraph.html" title="type parameter in MapGraph">V</a>&nbsp;source,
int&nbsp;depth)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/impl/AdjGraph.html" title="type parameter in AdjGraph">V</a>,<a href="../../../../berack96/lib/graph/impl/AdjGraph.html" title="type parameter in AdjGraph">W</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">AdjGraph.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/impl/AdjGraph.html#subGraph-V-int-">subGraph</a></span>(<a href="../../../../berack96/lib/graph/impl/AdjGraph.html" title="type parameter in AdjGraph">V</a>&nbsp;source,
int&nbsp;depth)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/impl/MatrixGraph.html" title="type parameter in MatrixGraph">V</a>,<a href="../../../../berack96/lib/graph/impl/MatrixGraph.html" title="type parameter in MatrixGraph">W</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">MatrixGraph.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/impl/MatrixGraph.html#transpose--">transpose</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/impl/MapGraph.html" title="type parameter in MapGraph">V</a>,<a href="../../../../berack96/lib/graph/impl/MapGraph.html" title="type parameter in MapGraph">W</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">MapGraph.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/impl/MapGraph.html#transpose--">transpose</a></span>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/impl/AdjGraph.html" title="type parameter in AdjGraph">V</a>,<a href="../../../../berack96/lib/graph/impl/AdjGraph.html" title="type parameter in AdjGraph">W</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">AdjGraph.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/impl/AdjGraph.html#transpose--">transpose</a></span>()</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="berack96.lib.graph.models">
<!-- -->
</a>
<h3>Uses of <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a> in <a href="../../../../berack96/lib/graph/models/package-summary.html">berack96.lib.graph.models</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../berack96/lib/graph/models/package-summary.html">berack96.lib.graph.models</a> with parameters of type <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/models/GraphSaveStructure.html#GraphSaveStructure-berack96.lib.graph.Graph-java.lang.String-">GraphSaveStructure</a></span>(<a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;?,?&gt;&nbsp;graph,
java.lang.String&nbsp;other)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="berack96.lib.graph.view">
<!-- -->
</a>
<h3>Uses of <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a> in <a href="../../../../berack96/lib/graph/view/package-summary.html">berack96.lib.graph.view</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../berack96/lib/graph/view/package-summary.html">berack96.lib.graph.view</a> that return <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a></span><span class="tabEnd">&nbsp;</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="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/view/GraphPanel.html" title="type parameter in GraphPanel">V</a>,<a href="../../../../berack96/lib/graph/view/GraphPanel.html" title="type parameter in GraphPanel">W</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">GraphPanel.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/view/GraphPanel.html#getGraph--">getGraph</a></span>()</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="berack96.lib.graph.view.vertex">
<!-- -->
</a>
<h3>Uses of <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a> in <a href="../../../../berack96/lib/graph/view/vertex/package-summary.html">berack96.lib.graph.view.vertex</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../berack96/lib/graph/view/vertex/package-summary.html">berack96.lib.graph.view.vertex</a> with parameters of type <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a></span><span class="tabEnd">&nbsp;</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>protected java.lang.Integer</code></td>
<td class="colLast"><span class="typeNameLabel">VertexIntListener.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/view/vertex/VertexIntListener.html#buildNewVertex-berack96.lib.graph.Graph-">buildNewVertex</a></span>(<a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;java.lang.Integer,?&gt;&nbsp;graph)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected abstract <a href="../../../../berack96/lib/graph/view/vertex/VertexListener.html" title="type parameter in VertexListener">V</a></code></td>
<td class="colLast"><span class="typeNameLabel">VertexListener.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/view/vertex/VertexListener.html#buildNewVertex-berack96.lib.graph.Graph-">buildNewVertex</a></span>(<a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/view/vertex/VertexListener.html" title="type parameter in VertexListener">V</a>,?&gt;&nbsp;graph)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="berack96.lib.graph.visit">
<!-- -->
</a>
<h3>Uses of <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a> in <a href="../../../../berack96/lib/graph/visit/package-summary.html">berack96.lib.graph.visit</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../berack96/lib/graph/visit/package-summary.html">berack96.lib.graph.visit</a> with parameters of type <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a></span><span class="tabEnd">&nbsp;</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>java.util.List&lt;<a href="../../../../berack96/lib/graph/Edge.html" title="class in berack96.lib.graph">Edge</a>&lt;<a href="../../../../berack96/lib/graph/visit/VisitDistSourceDest.html" title="type parameter in VisitDistSourceDest">V</a>,<a href="../../../../berack96/lib/graph/visit/VisitDistSourceDest.html" title="type parameter in VisitDistSourceDest">W</a>&gt;&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">VisitDistSourceDest.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/visit/VisitDistSourceDest.html#distance-berack96.lib.graph.Graph-V-V-">distance</a></span>(<a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/visit/VisitDistSourceDest.html" title="type parameter in VisitDistSourceDest">V</a>,<a href="../../../../berack96/lib/graph/visit/VisitDistSourceDest.html" title="type parameter in VisitDistSourceDest">W</a>&gt;&nbsp;graph,
<a href="../../../../berack96/lib/graph/visit/VisitDistSourceDest.html" title="type parameter in VisitDistSourceDest">V</a>&nbsp;source,
<a href="../../../../berack96/lib/graph/visit/VisitDistSourceDest.html" title="type parameter in VisitDistSourceDest">V</a>&nbsp;destination)</code>
<div class="block">Get the distance from the source to the destination<br>
The list contains the minimum path from the vertex marked as source to the destination vertex</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../berack96/lib/graph/visit/impl/VisitInfo.html" title="class in berack96.lib.graph.visit.impl">VisitInfo</a>&lt;<a href="../../../../berack96/lib/graph/visit/VisitStrategy.html" title="type parameter in VisitStrategy">V</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">VisitStrategy.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/visit/VisitStrategy.html#visit-berack96.lib.graph.Graph-V-java.util.function.Consumer-">visit</a></span>(<a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/visit/VisitStrategy.html" title="type parameter in VisitStrategy">V</a>,<a href="../../../../berack96/lib/graph/visit/VisitStrategy.html" title="type parameter in VisitStrategy">W</a>&gt;&nbsp;graph,
<a href="../../../../berack96/lib/graph/visit/VisitStrategy.html" title="type parameter in VisitStrategy">V</a>&nbsp;source,
java.util.function.Consumer&lt;<a href="../../../../berack96/lib/graph/visit/VisitStrategy.html" title="type parameter in VisitStrategy">V</a>&gt;&nbsp;visit)</code>
<div class="block">With this the graph will be visited accordingly to the strategy of the visit.<br>
Some strategy can accept a source vertex null, because they visit all the graph anyway.<br>
If you want to stop the visit of the graph, you just have to throw any exception in the visit function, but be sure to catch it</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="berack96.lib.graph.visit.impl">
<!-- -->
</a>
<h3>Uses of <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a> in <a href="../../../../berack96/lib/graph/visit/impl/package-summary.html">berack96.lib.graph.visit.impl</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../berack96/lib/graph/visit/impl/package-summary.html">berack96.lib.graph.visit.impl</a> with parameters of type <a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a></span><span class="tabEnd">&nbsp;</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="../../../../berack96/lib/graph/visit/impl/VisitInfo.html" title="class in berack96.lib.graph.visit.impl">VisitInfo</a>&lt;<a href="../../../../berack96/lib/graph/visit/impl/Tarjan.html" title="type parameter in Tarjan">V</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Tarjan.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/visit/impl/Tarjan.html#visit-berack96.lib.graph.Graph-V-java.util.function.Consumer-">visit</a></span>(<a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/visit/impl/Tarjan.html" title="type parameter in Tarjan">V</a>,<a href="../../../../berack96/lib/graph/visit/impl/Tarjan.html" title="type parameter in Tarjan">W</a>&gt;&nbsp;graph,
<a href="../../../../berack96/lib/graph/visit/impl/Tarjan.html" title="type parameter in Tarjan">V</a>&nbsp;source,
java.util.function.Consumer&lt;<a href="../../../../berack96/lib/graph/visit/impl/Tarjan.html" title="type parameter in Tarjan">V</a>&gt;&nbsp;visit)</code>
<div class="block">This particular visit strategy use only the graph and the visit, so the source param is not needed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../berack96/lib/graph/visit/impl/VisitInfo.html" title="class in berack96.lib.graph.visit.impl">VisitInfo</a>&lt;<a href="../../../../berack96/lib/graph/visit/impl/Dijkstra.html" title="type parameter in Dijkstra">V</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Dijkstra.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/visit/impl/Dijkstra.html#visit-berack96.lib.graph.Graph-V-java.util.function.Consumer-">visit</a></span>(<a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/visit/impl/Dijkstra.html" title="type parameter in Dijkstra">V</a>,<a href="../../../../berack96/lib/graph/visit/impl/Dijkstra.html" title="type parameter in Dijkstra">W</a>&gt;&nbsp;graph,
<a href="../../../../berack96/lib/graph/visit/impl/Dijkstra.html" title="type parameter in Dijkstra">V</a>&nbsp;source,
java.util.function.Consumer&lt;<a href="../../../../berack96/lib/graph/visit/impl/Dijkstra.html" title="type parameter in Dijkstra">V</a>&gt;&nbsp;visit)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../berack96/lib/graph/visit/impl/VisitInfo.html" title="class in berack96.lib.graph.visit.impl">VisitInfo</a>&lt;<a href="../../../../berack96/lib/graph/visit/impl/DFS.html" title="type parameter in DFS">V</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">DFS.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/visit/impl/DFS.html#visit-berack96.lib.graph.Graph-V-java.util.function.Consumer-">visit</a></span>(<a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/visit/impl/DFS.html" title="type parameter in DFS">V</a>,<a href="../../../../berack96/lib/graph/visit/impl/DFS.html" title="type parameter in DFS">W</a>&gt;&nbsp;graph,
<a href="../../../../berack96/lib/graph/visit/impl/DFS.html" title="type parameter in DFS">V</a>&nbsp;source,
java.util.function.Consumer&lt;<a href="../../../../berack96/lib/graph/visit/impl/DFS.html" title="type parameter in DFS">V</a>&gt;&nbsp;visit)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../berack96/lib/graph/visit/impl/VisitInfo.html" title="class in berack96.lib.graph.visit.impl">VisitInfo</a>&lt;<a href="../../../../berack96/lib/graph/visit/impl/BFS.html" title="type parameter in BFS">V</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">BFS.</span><code><span class="memberNameLink"><a href="../../../../berack96/lib/graph/visit/impl/BFS.html#visit-berack96.lib.graph.Graph-V-java.util.function.Consumer-">visit</a></span>(<a href="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">Graph</a>&lt;<a href="../../../../berack96/lib/graph/visit/impl/BFS.html" title="type parameter in BFS">V</a>,<a href="../../../../berack96/lib/graph/visit/impl/BFS.html" title="type parameter in BFS">W</a>&gt;&nbsp;graph,
<a href="../../../../berack96/lib/graph/visit/impl/BFS.html" title="type parameter in BFS">V</a>&nbsp;source,
java.util.function.Consumer&lt;<a href="../../../../berack96/lib/graph/visit/impl/BFS.html" title="type parameter in BFS">V</a>&gt;&nbsp;visit)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<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="../../../../berack96/lib/graph/Graph.html" title="interface in berack96.lib.graph">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-files/index-1.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?berack96/lib/graph/class-use/Graph.html" target="_top">Frames</a></li>
<li><a href="Graph.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;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 ======= -->
</body>
</html>