Class QNormalizer


  • public class QNormalizer
    extends java.lang.Object
    Normalization of configurations.

    QNormalizer linearly maps configurations of a rectangular configuration
    space into a square configuration space with lower corner (0, 0, ..., 0)
    and upper corner (1, 1, ..., 1).
    • Constructor Summary

      Constructors 
      Constructor Description
      QNormalizer​(long cPtr, boolean cMemoryOwn)  
      QNormalizer​(PairQ bounds)
      Normalizer for the configuration space box given by bounds.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete()  
      Q fromNormalized​(Q q)
      Convert from a normalized configuration to a real
      configuration.
      PairQ getBounds()
      The box of the configuration space with respect to which
      normalization is done.
      static long getCPtr​(QNormalizer obj)  
      static QNormalizer identity()
      Normalizer for the already normalized configuration space box.
      void setFromNormalized​(Q q)
      Convert from a normalized configuration to a real
      configuration and assign the real configuration to q.
      void setToNormalized​(Q q)
      Convert a real configuration to a normalized configuration and
      write the normalized configuration to q.
      Q toNormalized​(Q q)
      Convert a real configuration to a normalized configuration.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QNormalizer

        public QNormalizer​(long cPtr,
                           boolean cMemoryOwn)
      • QNormalizer

        public QNormalizer​(PairQ bounds)
        Normalizer for the configuration space box given by bounds.
    • Method Detail

      • getCPtr

        public static long getCPtr​(QNormalizer obj)
      • delete

        public void delete()
      • fromNormalized

        public Q fromNormalized​(Q q)
        Convert from a normalized configuration to a real
        configuration.
      • toNormalized

        public Q toNormalized​(Q q)
        Convert a real configuration to a normalized configuration.
      • setFromNormalized

        public void setFromNormalized​(Q q)
        Convert from a normalized configuration to a real
        configuration and assign the real configuration to q.
      • setToNormalized

        public void setToNormalized​(Q q)
        Convert a real configuration to a normalized configuration and
        write the normalized configuration to q.
      • getBounds

        public PairQ getBounds()
        The box of the configuration space with respect to which
        normalization is done.
      • identity

        public static QNormalizer identity()
        Normalizer for the already normalized configuration space box.