Skip to content

Commit

Permalink
Add getSystemE() const to Annealer<>.
Browse files Browse the repository at this point in the history
  • Loading branch information
shinmorino committed Nov 10, 2018
1 parent b4bf943 commit 36b1330
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sqaodc/common/Solver.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ struct Annealer : Solver<real> {

virtual void annealOneStep(real G, real beta) = 0;

virtual real getSystemE(real G, real beta) const = 0;

protected:
Annealer() : m_(0) { }
sqaod::Algorithm algo_;
Expand Down

0 comments on commit 36b1330

Please sign in to comment.