public class BestFirst.LinkedList2 extends ArrayList<BestFirst.Link2>
| Constructor and Description |
|---|
LinkedList2(int sz) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToList(Object[] data,
double mer)
adds an element (Link) to the list.
|
BestFirst.Link2 |
getLinkAt(int index)
returns the element (Link) at a specific index from the list.
|
String |
getRevision()
Returns the revision string.
|
void |
removeLinkAt(int index)
removes an element (Link) at a specific index from the list.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringcontainsAll, equals, hashCodeparallelStream, streampublic void removeLinkAt(int index)
throws Exception
index - the index of the element to be removed.Exceptionpublic BestFirst.Link2 getLinkAt(int index) throws Exception
index - the index of the element to be returned.Exceptionpublic void addToList(Object[] data, double mer) throws Exception
data - the attribute set specificationmer - the "merit" of this attribute setExceptionpublic String getRevision()
Copyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.