Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# Tools/PotentialFields/Pfield.h File Reference

Definition of class Potentialfield This file was originally named Potentialfield.h but had to be renamed because of another Potentialfield.h in this project. More...

`#include "PfieldConfig.h"`
`#include <vector>`
`#include <string>`
`#include "PotentialfieldComposition.h"`

Include dependency graph for Pfield.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | Potentialfield
| An abstract base class for all fields. More...
## Enumerations
enum | Criterion { CRITERION_GAIN, CRITERION_ABSOLUTE, CRITERION_GRADIENT, CRITERION_CONST }
| The criterions for computing the value of a field result. More...
enum | ChangeType { MILLISECONDS, CALLS }
| A datatype for different time constraints. More...
enum | KeepType { KEEP_RESULT, KEEP_FIELD }
| A datatype describing to what to keep: a result or a field. More...
enum | BehaviorFieldType { ACTION_FIELD, MOTION_FIELD }
| A type to distinguish between the two different field types. More...

## Detailed Description

Definition of class Potentialfield This file was originally named Potentialfield.h but had to be renamed because of another Potentialfield.h in this project.

Author:
  Tim Laue

Definition in file Pfield.h.

## Enumeration Type Documentation

enum Criterion

  | The criterions for computing the value of a field result. Enumeration values:
  CRITERION_GAIN |
  CRITERION_ABSOLUTE |
  CRITERION_GRADIENT |
  CRITERION_CONST |
Definition at line 27 of file Pfield.h.

enum ChangeType

  | A datatype for different time constraints. Enumeration values:
  MILLISECONDS |
  CALLS |
Definition at line 31 of file Pfield.h. Referenced by Parser::parseMotionfield(), Parser::parseTimeConstraintsForField(), RandomMotionGenerator::RandomMotionGenerator(), and toChangeType().

enum KeepType

  | A datatype describing to what to keep: a result or a field. Enumeration values:
  KEEP_RESULT |
  KEEP_FIELD |
Definition at line 34 of file Pfield.h. Referenced by Parser::parseTimeConstraintsForField().

enum BehaviorFieldType

  | A type to distinguish between the two different field types. Enumeration values:
  ACTION_FIELD |
  MOTION_FIELD |
Definition at line 37 of file Pfield.h. Referenced by Motionfield::getBehaviorFieldType(), and Actionfield::getBehaviorFieldType().