# Initialisation¶

This page contains information about the member functions of the SchreierSims class that can be used for initialisation.

Add a base point to the stabiliser chain.

Complexity

Linear in the current number of base points.

Parameters

pt – the base point to add.

Throws
Returns

(None)

Complexity

Constant

Parameters

x – a const reference to the generator to add.

Throws

LibsemigroupsException – if the degree of x is not equal to the first template parameter N.

Returns

(None)

inline void libsemigroups::SchreierSims::clear()

Reset to the trivial group.

Removes all generators, and orbits, and resets this so that it represents the trivial group.

Complexity

$$O(N ^ 2)$$ where N is the first template parameter.

Parameters

(None)

Throws

(None) – This function guarantees not to throw a LibsemigroupsException.

Returns

(None)