|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Surf.InteractModel.ParamSetExtractor
Class Name : ParamSetExtractor (generic Parameter Set Extractor class)
Project ref : SPIS project
File name : ModelParamSetExtractor.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : 25/08/2003
Modification :
Description : generic Parameter Set Extractor class
All classes of parameters sets extractors must derive from this class.
An extractor generates the Parameters of an Interactor from the
Model Parameters of an Interaction/Material Model.
This is often very simple, as e.g. extracting the parameters relevant to SEE
within NASCAP parameter list and passing them to SEE interactor.
In practice this must be done by overriding the extract method with the
a specific one
(the SpisRuntimeException generated in the generic extract method of this
generic ParamSetExtractor class will thus only be thrown in case of
wrong Parameters Set classes passed to the extract method).
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Constructor Summary | |
ParamSetExtractor(int position)
Simplified constructor, to extract one single parameter, of index passed |
|
ParamSetExtractor(int[] extractPositions_)
Default constructor |
|
ParamSetExtractor(int[] extractPositions_,
float[] factors_)
Constructor with extra factors |
Method Summary | |
ParameterSet |
extract(ParameterSet set)
Extracts a subset defined as some elements of the array. |
ParameterSet[] |
extract(ParameterSet[] sets)
Does the same job as extract(ParameterSet set) but for arrays of paramater sets: extracts and returns subsets of parameters to be used by an Interactor (as ParameterSet[]) from sets of a MaterialModel parameters (as ParameterSet[]) or to be used by a Function (as ParameterSet[]) from sets of Interactor parameters (as a ParameterSet[]) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ParamSetExtractor(int[] extractPositions_)
extractPositions_
- indices of the object to be extracted from the arraypublic ParamSetExtractor(int[] extractPositions_, float[] factors_)
extractPositions_
- indices of the object to be extracted from the arraypublic ParamSetExtractor(int position)
position
- position of the single parameter tobe extractedMethod Detail |
public ParameterSet extract(ParameterSet set)
ParamSetExtractorInterfaceDeprecated#extract(ParameterSet)
public ParameterSet[] extract(ParameterSet[] sets)
sets
- input parameter sets (ParameterSet[])
extract(ParameterSet)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |