This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/CLPBN/clpbn/bp/CptEntry.h
2011-02-23 15:31:56 +00:00

24 lines
490 B
C++

#ifndef CPT_ENTRY_H
#define CPT_ENTRY_H
#include <vector>
using namespace std;
class CptEntry
{
public:
// constructs
CptEntry (int, vector<int>);
// methods
int getCptIndex (void) const;
vector<int> getDomainInstantiations (void) const;
bool matchConstraints (const vector<pair<int,int> >&) const;
private:
// members
int cptIndex_;
vector<int> instantiations_;
};
#endif // CPT_ENTRY_H