T - internal label of nodeV - external label of nodepublic class ParetoSelection<T,V extends java.lang.Comparable<V>> extends java.lang.Object implements java.util.Queue<Node<T,V>>
| Constructor and Description |
|---|
ParetoSelection(java.util.Queue<Node<T,V>> pareto)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Node<T,V> n)
Adds a node to the open list and, if its not dominated by any other point
also to the pareto front.
|
boolean |
addAll(java.util.Collection<? extends Node<T,V>> c) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
Node<T,V> |
element() |
boolean |
isEmpty() |
java.util.Iterator<Node<T,V>> |
iterator() |
boolean |
offer(Node<T,V> arg0) |
Node<T,V> |
peek()
Return a node from pareto front.
|
Node<T,V> |
poll() |
Node<T,V> |
remove() |
boolean |
remove(java.lang.Object o)
Removes an Node from
|
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
java.lang.Object[] |
toArray() |
<X> X[] |
toArray(X[] a) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic boolean add(Node<T,V> n)
public void clear()
public boolean contains(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public boolean isEmpty()
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public int size()
public java.lang.Object[] toArray()
public <X> X[] toArray(X[] a)
public boolean remove(java.lang.Object o)
public java.lang.String toString()
toString in class java.lang.Object