ca.ubc.cs.beta.activeconfigurator.matlab.predictivemodels
Interface PredictiveModelRemote

All Superinterfaces:
com.mathworks.toolbox.javabuilder.pooling.Poolable, java.rmi.Remote

public interface PredictiveModelRemote
extends com.mathworks.toolbox.javabuilder.pooling.Poolable

The PredictiveModel /Users/chrisnell/Documents/workspace/matlab/PredictivePerfModels-Code/modelPr edictForJava.m /Users/chrisnell/Documents/workspace/matlab/PredictivePerfModels-Code/read_mo del_from_file.m The dispose() method must be called on a PredictiveModel instance when it is no longer needed to ensure that native resources allocated by this class are properly freed.


Method Summary
 void dispose()
          Frees native resources associated with the remote server object
 java.lang.Object[] modelPredictForJava(int nargout, java.lang.Object... rhs)
          Provides the standard interface for calling the modelPredictForJava M-function with 3 input arguments.
 java.lang.Object[] read_model_from_file(int nargout, java.lang.Object... rhs)
          Provides the standard interface for calling the read_model_from_file M-function with 1 input argument.
 
Methods inherited from interface com.mathworks.toolbox.javabuilder.pooling.Poolable
alive
 

Method Detail

modelPredictForJava

java.lang.Object[] modelPredictForJava(int nargout,
                                       java.lang.Object... rhs)
                                       throws java.rmi.RemoteException
Provides the standard interface for calling the modelPredictForJava M-function with 3 input arguments. Input arguments may be passed as sub-classes of com.mathworks.toolbox.javabuilder.MWArray, or as arrays of any supported Java type. Arguments passed as Java types are converted to MATLAB arrays according to default conversion rules.

Parameters:
nargout - Number of outputs to return.
rhs - The inputs to the M function.
Returns:
Array of length nargout containing the function outputs. Outputs are returned as sub-classes of com.mathworks.toolbox.javabuilder.MWArray. Each output array should be freed by calling its dispose() method.
Throws:
MWException - An error has occured during the function call.
java.rmi.RemoteException

read_model_from_file

java.lang.Object[] read_model_from_file(int nargout,
                                        java.lang.Object... rhs)
                                        throws java.rmi.RemoteException
Provides the standard interface for calling the read_model_from_file M-function with 1 input argument. Input arguments may be passed as sub-classes of com.mathworks.toolbox.javabuilder.MWArray, or as arrays of any supported Java type. Arguments passed as Java types are converted to MATLAB arrays according to default conversion rules.

Parameters:
nargout - Number of outputs to return.
rhs - The inputs to the M function.
Returns:
Array of length nargout containing the function outputs. Outputs are returned as sub-classes of com.mathworks.toolbox.javabuilder.MWArray. Each output array should be freed by calling its dispose() method.
Throws:
MWException - An error has occured during the function call.
java.rmi.RemoteException

dispose

void dispose()
             throws java.rmi.RemoteException
Frees native resources associated with the remote server object

Throws:
java.rmi.RemoteException