[yul-phaser] More data accessors in metric and algorithm classes

This commit is contained in:
Kamil Śliwak 2020-03-04 19:46:46 +01:00
parent 2563e7a7e3
commit 7a1f6a27db
2 changed files with 7 additions and 0 deletions

View File

@ -57,6 +57,9 @@ public:
m_program(std::move(_program)),
m_repetitionCount(_repetitionCount) {}
Program const& program() const { return m_program; }
size_t repetitionCount() const { return m_repetitionCount; }
size_t evaluate(Chromosome const& _chromosome) const override;
private:

View File

@ -81,6 +81,8 @@ public:
assert(_options.isValid());
}
Options const& options() const { return m_options; }
Population runNextRound(Population _population) override;
private:
@ -129,6 +131,8 @@ public:
assert(_options.isValid());
}
Options const& options() const { return m_options; }
Population runNextRound(Population _population) override;
private: