2019-06-27 12:02:31 +00:00
|
|
|
#include "NumericalTableEvalValue.hpp"
|
|
|
|
#include "../Iterator/NumericalKeyIterator.hpp"
|
|
|
|
|
2019-07-04 17:08:13 +00:00
|
|
|
inline Porygon::Evaluation::Iterator *Porygon::Evaluation::NumericalTableEvalValue::GetKeyIterator() const {
|
2019-06-27 12:02:31 +00:00
|
|
|
return new NumericalKeyIterator(this);
|
|
|
|
}
|
2019-07-27 15:59:42 +00:00
|
|
|
|
|
|
|
Porygon::Evaluation::NumericalTableEvalValue::NumericalTableEvalValue(shared_ptr<vector<EvalValuePointer>> table) :
|
|
|
|
_table(std::move(table)),
|
|
|
|
_hash(rand())
|
|
|
|
{
|
|
|
|
}
|