Class MpiPowerMap

java.lang.Object
java.util.AbstractMap<K,​V>
java.util.HashMap<Mpi,​java.util.TreeMap<Mpi,​Mpi>>
de.tilman_neumann.jml.partitions.MpiPowerMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<Mpi,​java.util.TreeMap<Mpi,​Mpi>>

public class MpiPowerMap
extends java.util.HashMap<Mpi,​java.util.TreeMap<Mpi,​Mpi>>
A map from all "subvalues" s of a multipartite number q with 1
See Also:
Serialized Form
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.util.AbstractMap

    java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>

    Nested classes/interfaces inherited from interface java.util.Map

    java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
  • Method Summary

    Modifier and Type Method Description
    java.lang.String accessStats()  
    static MpiPowerMap create​(Mpi q)  
    java.util.SortedMap<Mpi,​Mpi> getSubvaluesLessOrEqual​(Mpi x, Mpi biggestElem)
    Delivers all subvalues (piece-wise relation) of x not bigger (ordering relation) than biggestElem.

    Methods inherited from class java.util.HashMap

    clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values

    Methods inherited from class java.util.AbstractMap

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Map

    equals, hashCode
  • Method Details

    • create

      public static MpiPowerMap create​(Mpi q)
    • getSubvaluesLessOrEqual

      public java.util.SortedMap<Mpi,​Mpi> getSubvaluesLessOrEqual​(Mpi x, Mpi biggestElem)
      Delivers all subvalues (piece-wise relation) of x not bigger (ordering relation) than biggestElem.
      Parameters:
      x -
      biggestElem -
      Returns:
      subvalues of x not bigger than biggestElem
    • accessStats

      public java.lang.String accessStats()