Minotaur 0.4.1
Docs for developers
YEqCGs.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 MINOTAURYEQCG_H
15#define MINOTAURYEQCG_H
16
17#include "Types.h"
18#include "OpCode.h"
19
20namespace Minotaur {
21class CGraph;
22typedef CGraph* CGraphPtr;
23
24class YEqCGs {
25public:
26 YEqCGs();
27 VariablePtr findY(CGraphPtr cg);
28 void insert(VariablePtr auxvar, CGraphPtr cg);
29
30private:
31 DoubleVector hash_;
32 DoubleVector rand_;
33 VarVector y_;
34 std::vector<CGraphPtr> cg_;
35 double evalHash_(const CNode* node, UInt rank);
36};
37}
38#endif
39
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: YEqCGs.h:24
Definition: ActiveNodeStore.h:20
unsigned int UInt
Unsigned integer.
Definition: Types.h:30

Minotaur source code documented by Doxygen 1.9.4 on Thu Apr 24 2025