public static class CooptimalMatrix.SparseMatrix extends TreeMap<MatrixEngine.MatrixCoordinate,Double>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SparseMatrix() |
SparseMatrix(Comparator<? super MatrixEngine.MatrixCoordinate> comparator) |
SparseMatrix(Map<? extends MatrixEngine.MatrixCoordinate,? extends Double> m) |
SparseMatrix(SortedMap<MatrixEngine.MatrixCoordinate,? extends Double> m) |
Modifier and Type | Method and Description |
---|---|
void |
add(int i,
int j,
double v) |
boolean |
containsKey(int i,
int j) |
double |
get(int i,
int j) |
void |
put(int i,
int j,
double v) |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
equals, hashCode, isEmpty, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
public SparseMatrix()
public SparseMatrix(Comparator<? super MatrixEngine.MatrixCoordinate> comparator)
public SparseMatrix(Map<? extends MatrixEngine.MatrixCoordinate,? extends Double> m)
public SparseMatrix(SortedMap<MatrixEngine.MatrixCoordinate,? extends Double> m)
Copyright (C) 2016-2018 Benjamin Paaßen, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/