highprecisionpso::PiConstantEvaluation Class Reference

This constant evaluation calculates the value Pi. More...

#include <general_objects.h>

Inheritance diagram for highprecisionpso::PiConstantEvaluation:

Public Member Functions

mpf_t * Evaluate ()
 Returns the value of Pi. More...
 
std::string GetName ()
 Returns a string representation of this object. More...
 
- Public Member Functions inherited from highprecisionpso::ConstantEvaluation
virtual ~ConstantEvaluation ()
 The destructor. More...
 

Detailed Description

This constant evaluation calculates the value Pi.

Member Function Documentation

mpf_t* highprecisionpso::PiConstantEvaluation::Evaluate ( )
virtual

Returns the value of Pi.

Returns
The constant value Pi.

Implements highprecisionpso::ConstantEvaluation.

std::string highprecisionpso::PiConstantEvaluation::GetName ( )
virtual

Returns a string representation of this object.

Returns
The name of the object.

Implements highprecisionpso::ConstantEvaluation.


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