module GENERICSOLVER_ORB
{
- typedef sequence<double> Point;
- typedef SALOMEDS::ID ID;
+ typedef sequence<double> Value;
typedef sequence<string> VarList;
+ typedef sequence<Value> ValueList;
+
+ struct InputDescription {
+ VarList inputVarList;
+ VarList outputVarList;
+ ValueList inputValues;
+ };
interface DEVIATION_Gen : Engines::Component, SALOMEDS::Driver
{
* stores this data along with the lists of input and output variables to
* identify them in future calls to Exec.
*
- * @param inputVarList a list of strings containing the names of the input
- * variables in the same order as in subsequent calls to Exec.
- * @param outputVarList a list of strings containing the names of the output
- * variables in the same order as they should be returned
- * in subsequent calls to Exec.
* @param studyID the identifier of the study containing the deterministic data
* @param entry the identifier of the deterministic case within the study
*/
- void Init(in VarList inputVarList, in VarList outputVarList, in long studyID, in ID entry)
+ void Init(in long studyID, in SALOMEDS::ID entry)
raises (SALOME::SALOME_Exception);
/**
* @brief Execute a computation with a given sample of variables.
*
- * The Exec method realizes the computation with some parameters (within
- * inPoint) corresponding to the variables set previously with the method
- * Init. The result is put in outPoint in the order specified by
- * outputVarList of Init method.
+ * The Exec method realizes the computation with the probabilistic variables
+ * described in inputDesc and the deterministic variables set previously with
+ * the Init method. The result is put in outputValues in the order specified by
+ * inputDesc.outputVarList.
*
- * @param inPoint a vector of floating point values to be evaluated
- * @param outPoint the result of the computation as a vector of floating point values
+ * @param inputDesc a structure describing the probabilistic variables and the order
+ * of the output variables.
+ * @param outputValues the result of the computation
*/
- void Exec(in Point inPoint, out Point outPoint)
+ void Exec(in InputDescription inputDesc, out ValueList outputValues)
raises (SALOME::SALOME_Exception);
/**