ptolemy.domains.sdf.lib
Class SequenceToMatrix.FunctionTerm

java.lang.Object
  extended by ptolemy.data.type.MonotonicFunction
      extended by ptolemy.domains.sdf.lib.SequenceToMatrix.FunctionTerm
All Implemented Interfaces:
InequalityTerm
Enclosing class:
SequenceToMatrix

private static class SequenceToMatrix.FunctionTerm
extends MonotonicFunction

A monotonic function of the input port type. The result of the function is a matrix type with elements that are the same as the input type. If there is no such matrix type, then the result is unknown.


Field Summary
private  TypedIOPort _port
           
 
Constructor Summary
private SequenceToMatrix.FunctionTerm(TypedIOPort port)
          The constructor takes a port argument so that the clone() method can construct an instance of this class for the input port on the clone.
 
Method Summary
 java.lang.Object getValue()
          Return the function result.
 InequalityTerm[] getVariables()
          Return the variables in this term.
 
Methods inherited from class ptolemy.data.type.MonotonicFunction
getAssociatedObject, getVerboseString, initialize, isSettable, isValueAcceptable, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_port

private TypedIOPort _port
Constructor Detail

SequenceToMatrix.FunctionTerm

private SequenceToMatrix.FunctionTerm(TypedIOPort port)
The constructor takes a port argument so that the clone() method can construct an instance of this class for the input port on the clone.

Parameters:
port - The port
Method Detail

getValue

public java.lang.Object getValue()
Return the function result.

Specified by:
getValue in interface InequalityTerm
Specified by:
getValue in class MonotonicFunction
Returns:
A Type.
See Also:
MonotonicFunction.setValue(Object)

getVariables

public InequalityTerm[] getVariables()
Return the variables in this term. If the type of the input port is a variable, return a one element array containing the InequalityTerm of that port; otherwise, return an array of zero length.

Specified by:
getVariables in interface InequalityTerm
Specified by:
getVariables in class MonotonicFunction
Returns:
An array of InequalityTerm.