|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.utils.astar.AStarHeap<NODE>
@Deprecated public class AStarHeap<NODE>
This is Heap used by AStar algorithm. Note that we assume that inserted Object has correctly implemented hashCode() and equals() function!
Use amis-path-finding library instead, see svn://artemis.ms.mff.cuni.cz/pogamut/trunk/project/Utils/AmisPathFinding
| Constructor Summary | |
|---|---|
AStarHeap(Comparator<NODE> comp)
Deprecated. |
|
AStarHeap(Comparator<NODE> comp,
int capacity)
Deprecated. |
|
| Method Summary | |
|---|---|
boolean |
add(NODE arg0)
Deprecated. |
boolean |
addAll(Collection arg0)
Deprecated. |
boolean |
addAll(NODE[] arg0)
Deprecated. |
void |
clear()
Deprecated. |
boolean |
contains(Object arg0)
Deprecated. |
boolean |
containsAll(Collection arg0)
Deprecated. |
boolean |
containsAll(Object[] arg0)
Deprecated. |
boolean |
decreaseKey(NODE arg0)
Deprecated. |
boolean |
deleteMin()
Deprecated. |
boolean |
empty()
Deprecated. |
NODE |
getMin()
Deprecated. |
boolean |
isEmpty()
Deprecated. |
Iterator<NODE> |
iterator()
Deprecated. |
static void |
main(String[] args)
Deprecated. |
static void |
mainAdd(AStarHeap heap,
Integer[] nums)
Deprecated. |
static boolean |
mainCheck(AStarHeap heap,
Integer[] nums)
Deprecated. |
static String |
mainToStr(Integer[] nums)
Deprecated. |
boolean |
remove(Object arg0)
Deprecated. |
boolean |
removeAll(Collection arg0)
Deprecated. |
boolean |
retainAll(Collection arg0)
Deprecated. |
int |
size()
Deprecated. |
Object[] |
toArray()
Deprecated. |
Object[] |
toArray(Object[] arg0)
Deprecated. |
Set |
toSet()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public AStarHeap(Comparator<NODE> comp,
int capacity)
public AStarHeap(Comparator<NODE> comp)
| Method Detail |
|---|
public NODE getMin()
public boolean deleteMin()
public boolean decreaseKey(NODE arg0)
public boolean add(NODE arg0)
add in interface Collection<NODE>public boolean addAll(Collection arg0)
addAll in interface Collection<NODE>public boolean addAll(NODE[] arg0)
public void clear()
clear in interface Collection<NODE>public boolean contains(Object arg0)
contains in interface Collection<NODE>public boolean containsAll(Collection arg0)
containsAll in interface Collection<NODE>public boolean containsAll(Object[] arg0)
public boolean isEmpty()
isEmpty in interface Collection<NODE>public Iterator<NODE> iterator()
iterator in interface Iterable<NODE>iterator in interface Collection<NODE>public boolean remove(Object arg0)
remove in interface Collection<NODE>public boolean removeAll(Collection arg0)
removeAll in interface Collection<NODE>public boolean retainAll(Collection arg0)
retainAll in interface Collection<NODE>public int size()
size in interface Collection<NODE>public boolean empty()
public Object[] toArray()
toArray in interface Collection<NODE>public Object[] toArray(Object[] arg0)
toArray in interface Collection<NODE>public Set toSet()
public static String mainToStr(Integer[] nums)
public static boolean mainCheck(AStarHeap heap,
Integer[] nums)
public static void mainAdd(AStarHeap heap,
Integer[] nums)
public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||