|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.cnes.sirius.patrius.propagation.SimpleAdditionalStateProvider
public final class SimpleAdditionalStateProvider
This class is a simple implementation of additionalStateProvider. It is composed of a name, a dates table, and an additional states table associated to the dates. An ISearch index provides a way to find the nearest index table for a given date. It provides an additional state at a date through linear interpolation of the given additional states table.
Constructor Summary | |
---|---|
SimpleAdditionalStateProvider(String name,
AbsoluteDate[] dateTab,
double[][] additionalStatesTab,
ISearchIndex algo)
Creates an instance of SimpleAdditionalStateProvider from a name describing the additional state double table, a table of dates, and a table of additional states associated to these dates. |
Method Summary | |
---|---|
double[] |
getAdditionalState(AbsoluteDate date)
Get the additional state. |
String |
getName()
Get the name of the additional state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleAdditionalStateProvider(String name, AbsoluteDate[] dateTab, double[][] additionalStatesTab, ISearchIndex algo)
name
- describes the additional state double tabledateTab
- table of datesadditionalStatesTab
- additional states associated to these datesalgo
- class to find the nearest date index from a given date in the date table
(If null, algo will be, by default, a BinarySearchIndexOpenClosed
based on a table of duration since the first date of the dates table)Method Detail |
---|
public String getName()
getName
in interface AdditionalStateProvider
public double[] getAdditionalState(AbsoluteDate date)
getAdditionalState
in interface AdditionalStateProvider
date
- date to which additional state is computed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |