Class ArchiveModule

    • Field Detail

      • capacity

        protected int capacity
      • divisions

        protected int divisions
    • Constructor Detail

      • ArchiveModule

        public ArchiveModule()
    • Method Detail

      • setDivisions

        public void setDivisions​(int divisions)
        Set the number of divisions for the AdaptiveGridArchive.
        Parameters:
        divisions - the number of divisions
        See Also:
        getDivisions()
      • setType

        public void setType​(ArchiveModule.Type type)
        Sets the archive type to the specified value.
        Parameters:
        type - the new archive type
        See Also:
        getType()
      • setCapacity

        public void setCapacity​(int capacity)
        Sets the archive's capacity to the specified value.
        Parameters:
        capacity - the new capacity (using namespace BoundedArchive)
        See Also:
        getCapacity()
      • getCapacity

        public int getCapacity()
        Returns the archive's capacity.
        Returns:
        the archive's capacity
        See Also:
        setCapacity(int)
      • config

        public void config()
        Description copied from class: Opt4JModule
        Configure the module. Bind constants, listeners, and bind arbitrary classes.
        Specified by:
        config in class Opt4JModule
        See Also:
        Binder