|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IEnvironment
Interface for environments for robots.
| Method Summary | |
|---|---|
IBoundary |
getBoundary()
Gets boundary interface |
int |
getDimensionality()
dimensionality of space in which environment is embedded |
double |
getFieldVal(int nWhichField,
double[] arrLoc)
Gets a particular field value at a particular location |
double[] |
getFieldVals(double[] arrLoc)
Gets all field values for a particular location as a vector |
double[] |
getGradient(int nWhichField,
double[] arrLoc)
Gradient at a particular location for a given field |
void |
getGradient(int nWhichField,
double[] arrLoc,
double[] arrRslt)
Gradient at a particular location for a given field |
int |
getNumScalars()
number of scalar fields over environment |
IEnvironment |
makeCopy()
|
| Method Detail |
|---|
int getDimensionality()
int getNumScalars()
double getFieldVal(int nWhichField,
double[] arrLoc)
double[] getFieldVals(double[] arrLoc)
arrLoc - array of location at which measurement is taken
double[] getGradient(int nWhichField,
double[] arrLoc)
nWhichField - field to take gradient ofarrLoc - place at which to take gradient
void getGradient(int nWhichField,
double[] arrLoc,
double[] arrRslt)
nWhichField - field to take gradient ofarrLoc - place at which to take gradientarrRslt - gradient (of proper dimensionality) as a double []IBoundary getBoundary()
IEnvironment makeCopy()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||