Template Class Program¶
Defined in File Program.hpp
Class Documentation¶
-
template<typename
Spec>
classsgpl::Program: public std::vector<sgpl::Instruction<Spec>>¶ Public Functions
-
Program() = default¶ Default constructor.
-
Program(const size_t n)¶
-
Program(const char *as_json)¶ Deserialize from JSON string.
-
Program(const std::filesystem::path &path)¶ Deserialize from file.
-
Program(const parent_t &other)¶ Raw copy constructor.
-
Program(parent_t &&other)¶ Raw move constructor.
-
size_t
ApplyPointMutations(const float p_bit_toggle, const rectifier_t &rectifier = rectifier_t{})¶
-
void
RotateGlobalAnchorToFront()¶
-
void
Rectify(const rectifier_t &rectifier = rectifier_t{})¶
-
bool
HasGlobalAnchor() const¶
-