Use camel case for constants and enumerators.
All capitals case should be reserved for macros and besides there is no big need to emphasize constness in general.
This commit is contained in:
@@ -24,7 +24,7 @@ class Var {
|
||||
public:
|
||||
Var (const Var*);
|
||||
|
||||
Var (VarId, unsigned, int = Constants::NO_EVIDENCE);
|
||||
Var (VarId, unsigned, int = Constants::unobserved);
|
||||
|
||||
virtual ~Var (void) { };
|
||||
|
||||
@@ -79,7 +79,7 @@ class Var {
|
||||
inline bool
|
||||
Var::hasEvidence (void) const
|
||||
{
|
||||
return evidence_ != Constants::NO_EVIDENCE;
|
||||
return evidence_ != Constants::unobserved;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user