fr.ifremer.isisfish.simulator.sensitivity.domain
Class MatrixContinuousDomain

java.lang.Object
  extended by fr.ifremer.isisfish.simulator.sensitivity.domain.ContinuousDomain<org.nuiton.math.matrix.MatrixND,Double>
      extended by fr.ifremer.isisfish.simulator.sensitivity.domain.MatrixContinuousDomain
All Implemented Interfaces:
Domain<org.nuiton.math.matrix.MatrixND,Double>, Serializable

public class MatrixContinuousDomain
extends ContinuousDomain<org.nuiton.math.matrix.MatrixND,Double>

Domaine continu portant sur une matrice. Composé d'un borne min et max et d'une matrice.

Version:
$Revision: 1.0 $ Last update : $Date: 24 févr. 2009 $ By : $Author: chatellier $
Author:
chatellier
See Also:
Serialized Form

Field Summary
protected  double coefficient
          Coefficient.
protected  org.nuiton.math.matrix.MatrixND matrix
          Matrix
protected  String operator
          Operation. (=,+,-,/)
protected  double value
          Value used to create the matrix
 
Fields inherited from class fr.ifremer.isisfish.simulator.sensitivity.domain.ContinuousDomain
cardinality, maxBound, minBound
 
Constructor Summary
MatrixContinuousDomain()
          Empty constructor.
 
Method Summary
 MatrixContinuousDomain clone()
          Clone the domain
 double getCoefficient()
           
 org.nuiton.math.matrix.MatrixND getMatrix()
          Get matrix.
 double getMaxBound()
          .
 double getMinBound()
          .
 String getOperator()
          Get operator.
 Double getRealMaxBound()
          Get the maximal bound of the coefficient used to create the matrix.
 Double getRealMinBound()
          Get the minimum bound of the coefficient used to create the matrix.
 Double getValue()
          Get value used to create the matrix.
 org.nuiton.math.matrix.MatrixND getValueForIdentifier(Double identifier)
          Return value associated to identifier.
 void setCoefficient(double coefficient)
           
 void setMatrix(org.nuiton.math.matrix.MatrixND matrix)
          Set matrix.
 void setOperator(String operator)
          Set operator.
 void setValue(Double value)
          Set value used to create the matrix.
 
Methods inherited from class fr.ifremer.isisfish.simulator.sensitivity.domain.ContinuousDomain
accept, getCardinality, setCardinality, setMaxBound, setMinBound
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

matrix

protected org.nuiton.math.matrix.MatrixND matrix
Matrix


coefficient

protected double coefficient
Coefficient.


operator

protected String operator
Operation. (=,+,-,/)


value

protected double value
Value used to create the matrix

Constructor Detail

MatrixContinuousDomain

public MatrixContinuousDomain()
Empty constructor.

Method Detail

getMatrix

public org.nuiton.math.matrix.MatrixND getMatrix()
Get matrix.

Returns:
the matrix

setMatrix

public void setMatrix(org.nuiton.math.matrix.MatrixND matrix)
Set matrix.

Parameters:
matrix - the matrix to set

getCoefficient

public double getCoefficient()
Returns:
the coefficient

setCoefficient

public void setCoefficient(double coefficient)
Parameters:
coefficient - the coefficient to set

getOperator

public String getOperator()
Get operator.

Returns:
the operator

setOperator

public void setOperator(String operator)
Set operator.

Parameters:
operator - the operator to set

getMinBound

public double getMinBound()
. In matrix continuous domain, always return 0

Overrides:
getMinBound in class ContinuousDomain<org.nuiton.math.matrix.MatrixND,Double>
Returns:
the minBound

getMaxBound

public double getMaxBound()
. In matrix continuous domain, always return 1

Overrides:
getMaxBound in class ContinuousDomain<org.nuiton.math.matrix.MatrixND,Double>
Returns:
the maxBound

getValueForIdentifier

public org.nuiton.math.matrix.MatrixND getValueForIdentifier(Double identifier)
Return value associated to identifier.. In continuous domain, just return identifier. In continuous domain, just return identifier

Specified by:
getValueForIdentifier in interface Domain<org.nuiton.math.matrix.MatrixND,Double>
Overrides:
getValueForIdentifier in class ContinuousDomain<org.nuiton.math.matrix.MatrixND,Double>
Returns:
found value or null if not found

getValue

public Double getValue()
Get value used to create the matrix.

Returns:
the value

setValue

public void setValue(Double value)
Set value used to create the matrix.

Parameters:
value - the value to set

clone

public MatrixContinuousDomain clone()
Description copied from interface: Domain
Clone the domain

Specified by:
clone in interface Domain<org.nuiton.math.matrix.MatrixND,Double>
Overrides:
clone in class ContinuousDomain<org.nuiton.math.matrix.MatrixND,Double>
Returns:
the domain cloned

getRealMinBound

public Double getRealMinBound()
Get the minimum bound of the coefficient used to create the matrix. As the getMinBound for use in R always return 0.

Returns:
the real minimum bound

getRealMaxBound

public Double getRealMaxBound()
Get the maximal bound of the coefficient used to create the matrix. As the getMaxBound for use in R always return 1.

Returns:
the real maximum bound


Copyright © 1999-2011 CodeLutin. All Rights Reserved.