Minotaur 0.4.1
Docs for developers
YEqUCGs.h
Go to the documentation of this file.
1//
2// Minotaur -- It's only 1/2 bull
3//
4// (C)opyright 2008 - 2025 The Minotaur Team.
5//
6
14#ifndef MINOTAURYEQUCGS_H
15#define MINOTAURYEQUCGS_H
16
17#include "Types.h"
18#include "OpCode.h"
19
20namespace Minotaur {
21class CGraph;
22class CNode;
23typedef CGraph* CGraphPtr;
24
25class YEqUCGs {
26public:
27 YEqUCGs();
28 ~YEqUCGs();
29 VariablePtr findY(CGraphPtr cg);
30 void insert(VariablePtr auxvar, CGraphPtr cg);
31
32private:
33 std::vector<CGraphPtr> cg_;
34 DoubleVector hash_;
35 std::vector<OpCode> op_;
36 DoubleVector rand_;
37 VarVector x_;
38 VarVector y_;
39 double evalHash_(const CNode* node, UInt rank);
40};
41}
42#endif
43
Declare the OpCodes used in Minotaur.
Declare important 'types' used in Minotaur.
Definition: CGraph.h:33
CNode denotes a node in the computational graph. It stores the op-code, children, parents and other a...
Definition: CNode.h:48
Definition: Variable.h:31
Definition: YEqUCGs.h:25
Definition: ActiveNodeStore.h:20
unsigned int UInt
Unsigned integer.
Definition: Types.h:30

Minotaur source code documented by Doxygen 1.9.4 on Sat May 17 2025