2020-06-11 17:49:34 +02:00

836 lines
32 KiB
HTML

<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="cs">
<head>
<!-- Generated by javadoc (12.0.2) on Thu Jun 11 14:11:06 CEST 2020 -->
<title>AStar</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2020-06-11">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AStar";
}
}
catch(err) {
}
//-->
var data = {"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,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":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";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">ruscz.game.gameOfProd.AStar</a></div>
<h2 title="Class AStar" class="title">Class AStar</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>ruscz.game.gameOfProd.AStar.AStar</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public class <span class="typeNameLabel">AStar</span>
extends java.lang.Object</pre>
<div class="block">A Star Algorithm</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<div class="memberSummary">
<table>
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>private java.util.Set&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#closedSet">closedSet</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DEFAULT_DIAGONAL_COST">DEFAULT_DIAGONAL_COST</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DEFAULT_HV_COST">DEFAULT_HV_COST</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#diagonalCost">diagonalCost</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#finalNode">finalNode</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hvCost">hvCost</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#initialNode">initialNode</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.util.PriorityQueue&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#openList">openList</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>[][]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#searchArea">searchArea</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<div class="memberSummary">
<table>
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,int,ruscz.game.gameOfProd.AStar.Node,ruscz.game.gameOfProd.AStar.Node)">AStar</a></span>&#8203;(int&nbsp;rows,
int&nbsp;cols,
<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;initialNode,
<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;finalNode)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,int,ruscz.game.gameOfProd.AStar.Node,ruscz.game.gameOfProd.AStar.Node,int,int)">AStar</a></span>&#8203;(int&nbsp;rows,
int&nbsp;cols,
<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;initialNode,
<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;finalNode,
int&nbsp;hvCost,
int&nbsp;diagonalCost)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<div class="memberSummary">
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="tableTab" onclick="show(8);">Concrete Methods</button></div>
<div id="memberSummary_tabpanel" role="tabpanel">
<table aria-labelledby="t0">
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor" id="i0">
<td class="colFirst"><code>private void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addAdjacentLowerRow(ruscz.game.gameOfProd.AStar.Node)">addAdjacentLowerRow</a></span>&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;currentNode)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>private void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addAdjacentMiddleRow(ruscz.game.gameOfProd.AStar.Node)">addAdjacentMiddleRow</a></span>&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;currentNode)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code>private void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addAdjacentNodes(ruscz.game.gameOfProd.AStar.Node)">addAdjacentNodes</a></span>&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;currentNode)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code>private void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addAdjacentUpperRow(ruscz.game.gameOfProd.AStar.Node)">addAdjacentUpperRow</a></span>&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;currentNode)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code>java.util.List&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findPath()">findPath</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code>java.util.Set&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getClosedSet()">getClosedSet</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><code>private int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDiagonalCost()">getDiagonalCost</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><code><a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFinalNode()">getFinalNode</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i8">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHvCost()">getHvCost</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i9">
<td class="colFirst"><code><a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInitialNode()">getInitialNode</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i10">
<td class="colFirst"><code>java.util.PriorityQueue&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOpenList()">getOpenList</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i11">
<td class="colFirst"><code>private java.util.List&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPath(ruscz.game.gameOfProd.AStar.Node)">getPath</a></span>&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;currentNode)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i12">
<td class="colFirst"><code><a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>[][]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSearchArea()">getSearchArea</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i13">
<td class="colFirst"><code>private void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkNode(ruscz.game.gameOfProd.AStar.Node,int,int,int)">checkNode</a></span>&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;currentNode,
int&nbsp;col,
int&nbsp;row,
int&nbsp;cost)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i14">
<td class="colFirst"><code>private boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isEmpty(java.util.PriorityQueue)">isEmpty</a></span>&#8203;(java.util.PriorityQueue&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt;&nbsp;openList)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i15">
<td class="colFirst"><code>private boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isFinalNode(ruscz.game.gameOfProd.AStar.Node)">isFinalNode</a></span>&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;currentNode)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i16">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBlock(int,int)">setBlock</a></span>&#8203;(int&nbsp;row,
int&nbsp;col)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i17">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBlocks(int%5B%5D%5B%5D)">setBlocks</a></span>&#8203;(int[][]&nbsp;blocksArray)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i18">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setClosedSet(java.util.Set)">setClosedSet</a></span>&#8203;(java.util.Set&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt;&nbsp;closedSet)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i19">
<td class="colFirst"><code>private void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDiagonalCost(int)">setDiagonalCost</a></span>&#8203;(int&nbsp;diagonalCost)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i20">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFinalNode(ruscz.game.gameOfProd.AStar.Node)">setFinalNode</a></span>&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;finalNode)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i21">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setHvCost(int)">setHvCost</a></span>&#8203;(int&nbsp;hvCost)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i22">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setInitialNode(ruscz.game.gameOfProd.AStar.Node)">setInitialNode</a></span>&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;initialNode)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i23">
<td class="colFirst"><code>private void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setNodes()">setNodes</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i24">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOpenList(java.util.PriorityQueue)">setOpenList</a></span>&#8203;(java.util.PriorityQueue&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt;&nbsp;openList)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i25">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSearchArea(ruscz.game.gameOfProd.AStar.Node%5B%5D%5B%5D)">setSearchArea</a></span>&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>[][]&nbsp;searchArea)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
</div>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="DEFAULT_HV_COST">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_HV_COST</h4>
<pre>private static final&nbsp;int DEFAULT_HV_COST</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#ruscz.game.gameOfProd.AStar.AStar.DEFAULT_HV_COST">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="DEFAULT_DIAGONAL_COST">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_DIAGONAL_COST</h4>
<pre>private static final&nbsp;int DEFAULT_DIAGONAL_COST</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#ruscz.game.gameOfProd.AStar.AStar.DEFAULT_DIAGONAL_COST">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="hvCost">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hvCost</h4>
<pre>private&nbsp;int hvCost</pre>
</li>
</ul>
<a id="diagonalCost">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>diagonalCost</h4>
<pre>private&nbsp;int diagonalCost</pre>
</li>
</ul>
<a id="searchArea">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>searchArea</h4>
<pre>private&nbsp;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>[][] searchArea</pre>
</li>
</ul>
<a id="openList">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>openList</h4>
<pre>private&nbsp;java.util.PriorityQueue&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt; openList</pre>
</li>
</ul>
<a id="closedSet">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>closedSet</h4>
<pre>private&nbsp;java.util.Set&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt; closedSet</pre>
</li>
</ul>
<a id="initialNode">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initialNode</h4>
<pre>private&nbsp;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a> initialNode</pre>
</li>
</ul>
<a id="finalNode">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>finalNode</h4>
<pre>private&nbsp;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a> finalNode</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(int,int,ruscz.game.gameOfProd.AStar.Node,ruscz.game.gameOfProd.AStar.Node,int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AStar</h4>
<pre>public&nbsp;AStar&#8203;(int&nbsp;rows,
int&nbsp;cols,
<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;initialNode,
<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;finalNode,
int&nbsp;hvCost,
int&nbsp;diagonalCost)</pre>
</li>
</ul>
<a id="&lt;init&gt;(int,int,ruscz.game.gameOfProd.AStar.Node,ruscz.game.gameOfProd.AStar.Node)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AStar</h4>
<pre>public&nbsp;AStar&#8203;(int&nbsp;rows,
int&nbsp;cols,
<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;initialNode,
<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;finalNode)</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="setNodes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNodes</h4>
<pre class="methodSignature">private&nbsp;void&nbsp;setNodes()</pre>
</li>
</ul>
<a id="setBlocks(int[][])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBlocks</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setBlocks&#8203;(int[][]&nbsp;blocksArray)</pre>
</li>
</ul>
<a id="findPath()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findPath</h4>
<pre class="methodSignature">public&nbsp;java.util.List&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt;&nbsp;findPath()</pre>
</li>
</ul>
<a id="getPath(ruscz.game.gameOfProd.AStar.Node)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPath</h4>
<pre class="methodSignature">private&nbsp;java.util.List&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt;&nbsp;getPath&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;currentNode)</pre>
</li>
</ul>
<a id="addAdjacentNodes(ruscz.game.gameOfProd.AStar.Node)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAdjacentNodes</h4>
<pre class="methodSignature">private&nbsp;void&nbsp;addAdjacentNodes&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;currentNode)</pre>
</li>
</ul>
<a id="addAdjacentLowerRow(ruscz.game.gameOfProd.AStar.Node)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAdjacentLowerRow</h4>
<pre class="methodSignature">private&nbsp;void&nbsp;addAdjacentLowerRow&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;currentNode)</pre>
</li>
</ul>
<a id="addAdjacentMiddleRow(ruscz.game.gameOfProd.AStar.Node)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAdjacentMiddleRow</h4>
<pre class="methodSignature">private&nbsp;void&nbsp;addAdjacentMiddleRow&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;currentNode)</pre>
</li>
</ul>
<a id="addAdjacentUpperRow(ruscz.game.gameOfProd.AStar.Node)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAdjacentUpperRow</h4>
<pre class="methodSignature">private&nbsp;void&nbsp;addAdjacentUpperRow&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;currentNode)</pre>
</li>
</ul>
<a id="checkNode(ruscz.game.gameOfProd.AStar.Node,int,int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkNode</h4>
<pre class="methodSignature">private&nbsp;void&nbsp;checkNode&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;currentNode,
int&nbsp;col,
int&nbsp;row,
int&nbsp;cost)</pre>
</li>
</ul>
<a id="isFinalNode(ruscz.game.gameOfProd.AStar.Node)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isFinalNode</h4>
<pre class="methodSignature">private&nbsp;boolean&nbsp;isFinalNode&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;currentNode)</pre>
</li>
</ul>
<a id="isEmpty(java.util.PriorityQueue)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre class="methodSignature">private&nbsp;boolean&nbsp;isEmpty&#8203;(java.util.PriorityQueue&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt;&nbsp;openList)</pre>
</li>
</ul>
<a id="setBlock(int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBlock</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setBlock&#8203;(int&nbsp;row,
int&nbsp;col)</pre>
</li>
</ul>
<a id="getInitialNode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInitialNode</h4>
<pre class="methodSignature">public&nbsp;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;getInitialNode()</pre>
</li>
</ul>
<a id="setInitialNode(ruscz.game.gameOfProd.AStar.Node)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInitialNode</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setInitialNode&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;initialNode)</pre>
</li>
</ul>
<a id="getFinalNode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFinalNode</h4>
<pre class="methodSignature">public&nbsp;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;getFinalNode()</pre>
</li>
</ul>
<a id="setFinalNode(ruscz.game.gameOfProd.AStar.Node)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFinalNode</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setFinalNode&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&nbsp;finalNode)</pre>
</li>
</ul>
<a id="getSearchArea()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSearchArea</h4>
<pre class="methodSignature">public&nbsp;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>[][]&nbsp;getSearchArea()</pre>
</li>
</ul>
<a id="setSearchArea(ruscz.game.gameOfProd.AStar.Node[][])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSearchArea</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setSearchArea&#8203;(<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>[][]&nbsp;searchArea)</pre>
</li>
</ul>
<a id="getOpenList()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOpenList</h4>
<pre class="methodSignature">public&nbsp;java.util.PriorityQueue&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt;&nbsp;getOpenList()</pre>
</li>
</ul>
<a id="setOpenList(java.util.PriorityQueue)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOpenList</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setOpenList&#8203;(java.util.PriorityQueue&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt;&nbsp;openList)</pre>
</li>
</ul>
<a id="getClosedSet()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClosedSet</h4>
<pre class="methodSignature">public&nbsp;java.util.Set&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt;&nbsp;getClosedSet()</pre>
</li>
</ul>
<a id="setClosedSet(java.util.Set)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setClosedSet</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setClosedSet&#8203;(java.util.Set&lt;<a href="Node.html" title="class in ruscz.game.gameOfProd.AStar">Node</a>&gt;&nbsp;closedSet)</pre>
</li>
</ul>
<a id="getHvCost()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHvCost</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getHvCost()</pre>
</li>
</ul>
<a id="setHvCost(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHvCost</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setHvCost&#8203;(int&nbsp;hvCost)</pre>
</li>
</ul>
<a id="getDiagonalCost()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDiagonalCost</h4>
<pre class="methodSignature">private&nbsp;int&nbsp;getDiagonalCost()</pre>
</li>
</ul>
<a id="setDiagonalCost(int)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setDiagonalCost</h4>
<pre class="methodSignature">private&nbsp;void&nbsp;setDiagonalCost&#8203;(int&nbsp;diagonalCost)</pre>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>