mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[yul-phaser] More data accessors in metric and algorithm classes
This commit is contained in:
parent
2563e7a7e3
commit
7a1f6a27db
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user