GT RoboCup SSL
Soccer software, robot firmware
ParallelGradientAscent1D Class Reference

Starts multiple "Gradient Ascent 1D" (GA1D) at various start points Combines two single GA1D's together when they are near the same X value. More...

Public Member Functions

 ParallelGradientAscent1D (ParallelGradient1DConfig *config)
 
void execute ()
 Executes all GA1Ds until their max has been reached.
 
std::vector< float > getMaxXValues ()
 Returns a list of all X values for each max in ascending order. More...
 
std::vector< float > getMaxValues ()
 a list of all the values for each max in ascending X order More...
 

Detailed Description

Starts multiple "Gradient Ascent 1D" (GA1D) at various start points Combines two single GA1D's together when they are near the same X value.

Use Example: PralellGradientAscent1D pga(& [ParallelGradient1DConfig obj] ); pga.execute(); results = pgs.getMaxValues();

Member Function Documentation

◆ getMaxValues()

std::vector< float > ParallelGradientAscent1D::getMaxValues ( )

a list of all the values for each max in ascending X order

Returns a list of all X values for each max in ascending order.

◆ getMaxXValues()

std::vector< float > ParallelGradientAscent1D::getMaxXValues ( )

Returns a list of all X values for each max in ascending order.

Returns
a list of all X values for each max in ascending order

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