OKlibrary  0.2.1.6
FaronsPuzzle::Test_score Class Reference

#include <FaronsPuzzle.hpp>

Inheritance diagram for FaronsPuzzle::Test_score:
FaronsPuzzle::Test_score_extended_symmetry_breaking FaronsPuzzle::Test_score_simple_symmetry_breaking

List of all members.

Classes

struct  too_many_components
struct  wrong_dimension
struct  zero_components

Public Types

typedef unsigned int Index

Public Member Functions

 Test_score (const Index d, const Index k, std::ostream &out)
void operator() () const
virtual ~Test_score ()

Protected Member Functions

virtual std::string b_var (const Index i, const Index j) const
virtual std::string c_var (const Index i, const Index j, const Index p) const
virtual std::string neg (const std::string &var) const
virtual std::string eoc () const
virtual void comment () const

Protected Attributes

const Index d
const Index k
std::ostream & out
const Index n
const Index c

Detailed Description

Definition at line 32 of file FaronsPuzzle.hpp.


Member Typedef Documentation

typedef unsigned int FaronsPuzzle::Test_score::Index

Definition at line 35 of file FaronsPuzzle.hpp.


Constructor & Destructor Documentation

FaronsPuzzle::Test_score::Test_score ( const Index  d,
const Index  k,
std::ostream &  out 
) [inline]

Definition at line 56 of file FaronsPuzzle.hpp.

virtual FaronsPuzzle::Test_score::~Test_score ( ) [inline, virtual]

Definition at line 72 of file FaronsPuzzle.hpp.


Member Function Documentation

virtual std::string FaronsPuzzle::Test_score::b_var ( const Index  i,
const Index  j 
) const [inline, protected, virtual]

Definition at line 75 of file FaronsPuzzle.hpp.

References d.

virtual std::string FaronsPuzzle::Test_score::c_var ( const Index  i,
const Index  j,
const Index  p 
) const [inline, protected, virtual]

Reimplemented in FaronsPuzzle::Test_score_extended_symmetry_breaking.

Definition at line 79 of file FaronsPuzzle.hpp.

References d, and k.

virtual void FaronsPuzzle::Test_score::comment ( ) const [inline, protected, virtual]

Definition at line 89 of file FaronsPuzzle.hpp.

References c, d, k, n, and out.

Referenced by operator()().

virtual std::string FaronsPuzzle::Test_score::eoc ( ) const [inline, protected, virtual]

Definition at line 86 of file FaronsPuzzle.hpp.

virtual std::string FaronsPuzzle::Test_score::neg ( const std::string &  var) const [inline, protected, virtual]

Definition at line 83 of file FaronsPuzzle.hpp.

References OKlib::Literals::var().

void FaronsPuzzle::Test_score::operator() ( ) const [inline]

Definition at line 63 of file FaronsPuzzle.hpp.

References comment().


Member Data Documentation

Definition at line 43 of file FaronsPuzzle.hpp.

Referenced by comment().

Definition at line 39 of file FaronsPuzzle.hpp.

Referenced by c_var(), and comment().

Definition at line 42 of file FaronsPuzzle.hpp.

Referenced by comment().

std::ostream& FaronsPuzzle::Test_score::out [protected]

Definition at line 40 of file FaronsPuzzle.hpp.

Referenced by comment().


The documentation for this class was generated from the following file: