COOPY » Guide  version 0.6.5
Public Member Functions | Data Fields
coopy::cmp::Vote Class Reference

#include <DataColumn.h>

Public Member Functions

 Vote ()
void clear ()
void vote (float vote, float confidence, bool forward=true)
float result ()

Data Fields

int votes
float confidence
float yes
float no

Detailed Description

Definition at line 15 of file DataColumn.h.


Constructor & Destructor Documentation

coopy::cmp::Vote::Vote ( ) [inline]

Definition at line 22 of file DataColumn.h.

References clear().


Member Function Documentation

void coopy::cmp::Vote::clear ( ) [inline]

Definition at line 26 of file DataColumn.h.

References confidence, no, votes, and yes.

Referenced by coopy::cmp::Nature::clear(), and Vote().

float coopy::cmp::Vote::result ( ) [inline]

Definition at line 43 of file DataColumn.h.

References no, votes, and yes.

Referenced by coopy::cmp::Nature::compare().

void coopy::cmp::Vote::vote ( float  vote,
float  confidence,
bool  forward = true 
) [inline]

Definition at line 32 of file DataColumn.h.

References confidence, no, votes, and yes.


Field Documentation

Definition at line 18 of file DataColumn.h.

Referenced by clear(), and vote().

Definition at line 20 of file DataColumn.h.

Referenced by clear(), coopy::cmp::Nature::couldBeInteger(), result(), and vote().

Definition at line 17 of file DataColumn.h.

Referenced by clear(), result(), and vote().

Definition at line 19 of file DataColumn.h.

Referenced by clear(), coopy::cmp::Nature::couldBeInteger(), result(), and vote().


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines