Commit dbd34299 authored by Sebastian Wolf's avatar Sebastian Wolf

Clean up measurments

parent 3376b66e
Pipeline #898 failed with stages
in 8 minutes and 29 seconds
......@@ -76,19 +76,26 @@ namespace xerus {
void sort(const bool _positionsOnly = false);
void measure(std::vector<value_t>& _values, );
void measure(std::vector<value_t>& _values, const Tensor& _solution) const;
// void measure(std::vector<value_t>& _values, const TTTensor& _solution) const; NICE: Minor speedup
void measure(std::vector<value_t>& _values, const TensorNetwork& _solution) const;
void measure(std::vector<value_t>& _values, std::function<value_t(const std::vector<size_t>&)> _callback) const;
void measure(const Tensor& _solution);
// void measure(const TTTensor& _solution); NICE: Minor speedup
void measure(const TTTensor& _solution);
void measure(const TensorNetwork& _solution);
void measure(std::function<value_t(const std::vector<size_t>&)> _callback);
double test(const Tensor& _solution) const;
double test(const TTTensor& _solution) const;
double test(const TensorNetwork& _solution) const;
double test(std::function<value_t(const std::vector<size_t>&)> _callback) const;
......@@ -137,17 +144,26 @@ namespace xerus {
void normalize();
void measure(std::vector<value_t>& _values, const Tensor& _solution) const;
void measure(std::vector<value_t>& _values, const TTTensor& _solution) const;
void measure(std::vector<value_t>& _values, const TensorNetwork& _solution) const;
void measure(std::vector<value_t>& _values, std::function<value_t(const std::vector<Tensor>&)> _callback) const;
void measure(const Tensor& _solution);
void measure(const TTTensor& _solution);
void measure(const TTTensor& _solution);
void measure(const TensorNetwork& _solution);
void measure(std::function<value_t(const std::vector<Tensor>&)> _callback);
double test(const Tensor& _solution) const;
double test(const TTTensor& _solution) const;
double test(const TensorNetwork& _solution) const;
double test(std::function<value_t(const std::vector<Tensor>&)> _callback) const;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment