org.jscience.chemistry.vapor.calculators
Interface IActivityCalculator

All Known Implementing Classes:
MarguleActivityCalculator, VanlaarActivityCalculator

public interface IActivityCalculator

Interface for Activity Calculator. To add user-defined activity calculation method, implement this interface.


Method Summary
 double[] calculateActivity(java.lang.Object[] params)
          DOCUMENT ME!
 java.util.ArrayList getParamList(int numOfComps)
          DOCUMENT ME!
 boolean isNonBinarySystemAllowed()
          DOCUMENT ME!
 void setContext(VLEContext context)
          DOCUMENT ME!
 

Method Detail

setContext

void setContext(VLEContext context)
DOCUMENT ME!

Parameters:
context - DOCUMENT ME!

calculateActivity

double[] calculateActivity(java.lang.Object[] params)
DOCUMENT ME!

Parameters:
params - DOCUMENT ME!
Returns:
DOCUMENT ME!

getParamList

java.util.ArrayList getParamList(int numOfComps)
DOCUMENT ME!

Parameters:
numOfComps - DOCUMENT ME!
Returns:
DOCUMENT ME!

isNonBinarySystemAllowed

boolean isNonBinarySystemAllowed()
DOCUMENT ME!

Returns:
DOCUMENT ME!