blob: df1dfcc78640a73626e87143d61b58181e94c21c [file] [log] [blame]
<!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_262) on Wed Mar 10 21:50:11 GMT 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AbstractCamvitChoiceRouting (Eclipse MOSAIC Parent 21.0 API)</title>
<meta name="date" content="2021-03-10">
<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="AbstractCamvitChoiceRouting (Eclipse MOSAIC Parent 21.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</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 class="navBarCell1Rev">Class</li>
<li><a href="class-use/AbstractCamvitChoiceRouting.html">Use</a></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&nbsp;Class</li>
<li><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.Plateau.html" title="class in org.eclipse.mosaic.lib.routing.graphhopper.algorithm"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html" target="_top">Frames</a></li>
<li><a href="AbstractCamvitChoiceRouting.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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.mosaic.lib.routing.graphhopper.algorithm</div>
<h2 title="Class AbstractCamvitChoiceRouting" class="title">Class AbstractCamvitChoiceRouting</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.graphhopper.routing.AbstractRoutingAlgorithm</li>
<li>
<ul class="inheritance">
<li>org.eclipse.mosaic.lib.routing.graphhopper.algorithm.AbstractCamvitChoiceRouting</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>com.graphhopper.routing.RoutingAlgorithm, <a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AlternativeRoutesRoutingAlgorithm.html" title="interface in org.eclipse.mosaic.lib.routing.graphhopper.algorithm">AlternativeRoutesRoutingAlgorithm</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AStarCamvitChoiceRouting.html" title="class in org.eclipse.mosaic.lib.routing.graphhopper.algorithm">AStarCamvitChoiceRouting</a>, <a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/DijkstraCamvitChoiceRouting.html" title="class in org.eclipse.mosaic.lib.routing.graphhopper.algorithm">DijkstraCamvitChoiceRouting</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">AbstractCamvitChoiceRouting</span>
extends com.graphhopper.routing.AbstractRoutingAlgorithm
implements <a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AlternativeRoutesRoutingAlgorithm.html" title="interface in org.eclipse.mosaic.lib.routing.graphhopper.algorithm">AlternativeRoutesRoutingAlgorithm</a></pre>
<div class="block">Implementation of the 'Camvit Choice Routing' algorithm to calculate alternative routes next to
the best route. After building the source tree and target tree by the router on top of this
class, edges which are in both trees will be determined. Afterwards, all of those edges which are
connected to each other will be collected in a set of so called 'plateaus'. Those plateaus are
either good (many edges / highest weight) or bad (few edges / low weight). One plateau can be
used to calculate an alternative path from A to B going trough this plateau, by traversing from
the start of a plateau to A by using the target tree and by traversing from the end of the
plateau to B by using the source tree. By choosing the best plateau a good alternative route next
to the best route can be found.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="http://www.camvit.com/camvit-technical-english/Camvit-Choice-Routing-Explanation-english.pdf" /></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</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>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.Plateau.html" title="class in org.eclipse.mosaic.lib.routing.graphhopper.algorithm">AbstractCamvitChoiceRouting.Plateau</a></span></code>
<div class="block">A plateau represents a sequence of edges which have been traversed by both path searches.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.RelEdge.html" title="class in org.eclipse.mosaic.lib.routing.graphhopper.algorithm">AbstractCamvitChoiceRouting.RelEdge</a></span></code>
<div class="block">Represents a relevant edge.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html#from">from</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html#to">to</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.com.graphhopper.routing.AbstractRoutingAlgorithm">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;com.graphhopper.routing.AbstractRoutingAlgorithm</h3>
<code>additionalEdgeFilter, flagEncoder, graph, inEdgeExplorer, maxVisitedNodes, nodeAccess, outEdgeExplorer, traversalMode, weighting</code></li>
</ul>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html#accept-com.graphhopper.util.EdgeIterator-com.graphhopper.storage.SPTEntry-">accept</a></span>(com.graphhopper.util.EdgeIterator&nbsp;edge,
com.graphhopper.storage.SPTEntry&nbsp;currEdge)</code>
<div class="block">Determines, if the currently traversed edge should be continued with.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>com.graphhopper.routing.Path</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html#calcPath-int-int-">calcPath</a></span>(int&nbsp;from,
int&nbsp;to)</code>
<div class="block">Calculates the best and alternative paths between the specified nodes.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>org.eclipse.mosaic.lib.routing.graphhopper.algorithm.PlateauPath</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html#extractPath--">extractPath</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html#finished--">finished</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;com.graphhopper.routing.Path&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html#getAlternativePaths--">getAlternativePaths</a></span>()</code>
<div class="block">Returns a list of alternative paths (not including the optimal path).</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html" title="class in org.eclipse.mosaic.lib.routing.graphhopper.algorithm">AbstractCamvitChoiceRouting</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html#initFrom-int-">initFrom</a></span>(int&nbsp;from)</code>
<div class="block">Initializes the routing process by announcing the source node.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html" title="class in org.eclipse.mosaic.lib.routing.graphhopper.algorithm">AbstractCamvitChoiceRouting</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html#initTo-int-">initTo</a></span>(int&nbsp;to)</code>
<div class="block">Initializes the routing process by announcing the target node.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html#setLocalOptimalityMin-double-">setLocalOptimalityMin</a></span>(double&nbsp;loMin)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html#setRequestAlternatives-int-">setRequestAlternatives</a></span>(int&nbsp;alternatives)</code>
<div class="block">Defines the number of additional alternative routes to calculate.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html#setRouteShareMax-double-">setRouteShareMax</a></span>(double&nbsp;shareMax)</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html#setRouteStretchMax-double-">setRouteStretchMax</a></span>(double&nbsp;stretchMax)</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html#setUbsMax-double-">setUbsMax</a></span>(double&nbsp;ubsMax)</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html#setUbsThreshold-double-">setUbsThreshold</a></span>(double&nbsp;ubsThreshold)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.com.graphhopper.routing.AbstractRoutingAlgorithm">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;com.graphhopper.routing.AbstractRoutingAlgorithm</h3>
<code>accept, calcPaths, checkAlreadyRun, createEmptyPath, getName, isMaxVisitedNodesExceeded, setEdgeFilter, setMaxVisitedNodes, toString</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.com.graphhopper.routing.RoutingAlgorithm">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;com.graphhopper.routing.RoutingAlgorithm</h3>
<code>calcPaths, getName, getVisitedNodes, setMaxVisitedNodes</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="from">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>from</h4>
<pre>protected&nbsp;int from</pre>
</li>
</ul>
<a name="to">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>to</h4>
<pre>protected&nbsp;int to</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="accept-com.graphhopper.util.EdgeIterator-com.graphhopper.storage.SPTEntry-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>accept</h4>
<pre>protected&nbsp;boolean&nbsp;accept(com.graphhopper.util.EdgeIterator&nbsp;edge,
com.graphhopper.storage.SPTEntry&nbsp;currEdge)</pre>
<div class="block">Determines, if the currently traversed edge should be continued with.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edge</code> - the edge which is currently being traversed.</dd>
<dd><code>currEdge</code> - the preceding edge.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> if this edge is acceptable to continue with.</dd>
</dl>
</li>
</ul>
<a name="initFrom-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initFrom</h4>
<pre>public&nbsp;<a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html" title="class in org.eclipse.mosaic.lib.routing.graphhopper.algorithm">AbstractCamvitChoiceRouting</a>&nbsp;initFrom(int&nbsp;from)</pre>
<div class="block">Initializes the routing process by announcing the source node.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>from</code> - the source node</dd>
</dl>
</li>
</ul>
<a name="initTo-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initTo</h4>
<pre>public&nbsp;<a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html" title="class in org.eclipse.mosaic.lib.routing.graphhopper.algorithm">AbstractCamvitChoiceRouting</a>&nbsp;initTo(int&nbsp;to)</pre>
<div class="block">Initializes the routing process by announcing the target node.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>to</code> - the target node.</dd>
</dl>
</li>
</ul>
<a name="setRequestAlternatives-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRequestAlternatives</h4>
<pre>public&nbsp;void&nbsp;setRequestAlternatives(int&nbsp;alternatives)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AlternativeRoutesRoutingAlgorithm.html#setRequestAlternatives-int-">AlternativeRoutesRoutingAlgorithm</a></code></span></div>
<div class="block">Defines the number of additional alternative routes to calculate.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AlternativeRoutesRoutingAlgorithm.html#setRequestAlternatives-int-">setRequestAlternatives</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AlternativeRoutesRoutingAlgorithm.html" title="interface in org.eclipse.mosaic.lib.routing.graphhopper.algorithm">AlternativeRoutesRoutingAlgorithm</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>alternatives</code> - the number of alternative routes.</dd>
</dl>
</li>
</ul>
<a name="calcPath-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>calcPath</h4>
<pre>public&nbsp;com.graphhopper.routing.Path&nbsp;calcPath(int&nbsp;from,
int&nbsp;to)</pre>
<div class="block">Calculates the best and alternative paths between the specified nodes.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>calcPath</code>&nbsp;in interface&nbsp;<code>com.graphhopper.routing.RoutingAlgorithm</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>from</code> - Start of the path.</dd>
<dd><code>to</code> - End of the path.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The calculated path.</dd>
</dl>
</li>
</ul>
<a name="getAlternativePaths--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAlternativePaths</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;com.graphhopper.routing.Path&gt;&nbsp;getAlternativePaths()</pre>
<div class="block">Returns a list of alternative paths (not including the optimal path).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AlternativeRoutesRoutingAlgorithm.html#getAlternativePaths--">getAlternativePaths</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AlternativeRoutesRoutingAlgorithm.html" title="interface in org.eclipse.mosaic.lib.routing.graphhopper.algorithm">AlternativeRoutesRoutingAlgorithm</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The alternative paths, is empty if no alternative paths have been requested.</dd>
</dl>
</li>
</ul>
<a name="extractPath--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extractPath</h4>
<pre>public&nbsp;org.eclipse.mosaic.lib.routing.graphhopper.algorithm.PlateauPath&nbsp;extractPath()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>extractPath</code>&nbsp;in class&nbsp;<code>com.graphhopper.routing.AbstractRoutingAlgorithm</code></dd>
</dl>
</li>
</ul>
<a name="finished--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>finished</h4>
<pre>protected&nbsp;boolean&nbsp;finished()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>finished</code>&nbsp;in class&nbsp;<code>com.graphhopper.routing.AbstractRoutingAlgorithm</code></dd>
</dl>
</li>
</ul>
<a name="setUbsMax-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUbsMax</h4>
<pre>public final&nbsp;void&nbsp;setUbsMax(double&nbsp;ubsMax)</pre>
</li>
</ul>
<a name="setRouteShareMax-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRouteShareMax</h4>
<pre>public final&nbsp;void&nbsp;setRouteShareMax(double&nbsp;shareMax)</pre>
</li>
</ul>
<a name="setRouteStretchMax-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRouteStretchMax</h4>
<pre>public final&nbsp;void&nbsp;setRouteStretchMax(double&nbsp;stretchMax)</pre>
</li>
</ul>
<a name="setLocalOptimalityMin-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLocalOptimalityMin</h4>
<pre>public final&nbsp;void&nbsp;setLocalOptimalityMin(double&nbsp;loMin)</pre>
</li>
</ul>
<a name="setUbsThreshold-double-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setUbsThreshold</h4>
<pre>public final&nbsp;void&nbsp;setUbsThreshold(double&nbsp;ubsThreshold)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= 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 class="navBarCell1Rev">Class</li>
<li><a href="class-use/AbstractCamvitChoiceRouting.html">Use</a></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&nbsp;Class</li>
<li><a href="../../../../../../../org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.Plateau.html" title="class in org.eclipse.mosaic.lib.routing.graphhopper.algorithm"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/eclipse/mosaic/lib/routing/graphhopper/algorithm/AbstractCamvitChoiceRouting.html" target="_top">Frames</a></li>
<li><a href="AbstractCamvitChoiceRouting.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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2020&#x2013;2021 <a href="https://www.fokus.fraunhofer.de/">Fraunhofer FOKUS</a>. All rights reserved.</small></p>
</body>
</html>