Functions

There are only a handful functions that are used by the Basis class:

int32_t danceq::internal::ContainerTable::info(void) const

Prints information about the class.

Prints information about the class such as basics parameters and current memory usage.

Returns:

error_code

int32_t danceq::internal::ContainerTable::get_index(uint64_t *output, const State &state, uint64_t start, uint64_t end) const

Returns the index of a specific state within start to end.

Parameters:
  • output – Pointer for output

  • state – State

  • start – Start of interval

  • end – End of interval

Returns:

error_code

int32_t danceq::internal::ContainerTable::is_maximal(bool *output, State &state, uint64_t start, uint64_t end, typename State::integer_type n_ = -1) const

Check if a specific state is maximal within start to end.

Default value of n_=-1 means that the particle number is calculated within the function.

Parameters:
  • output – Pointer for output

  • state – State

  • start – Start of interval

  • end – End of interval

  • n_ – Particle number within the interval

Returns:

error_code

int32_t danceq::internal::ContainerTable::is_minimal(bool *output, State &state, uint64_t start, uint64_t end, typename State::integer_type n_ = -1) const

Check if a specific state is minimal within start to end.

Default value of n_=-1 means that the particle number is calculated within the function.

Parameters:
  • output – Pointer for output

  • state – State

  • start – Start of interval

  • end – End of interval

  • n_ – Particle number within the interval

Returns:

error_code

int32_t danceq::internal::ContainerTable::get_number_of_bytes(uint64_t *number_of_bytes) const

Returns the memory usages in bytes.

Parameters:

number_of_bytes – Pointer for output.

Returns:

error_code