protected class FactorOracle.ChordFunction extends java.lang.Object implements Function
org.ptolemy.machineImprovsation.ChordSpecifications.getChordPitches(String, boolean)| Modifier and Type | Class and Description |
|---|---|
protected class |
FactorOracle.ChordFunction.ChordFunctionToken |
| Modifier | Constructor and Description |
|---|---|
protected |
ChordFunction() |
| Modifier and Type | Method and Description |
|---|---|
Token |
apply(Token[] arguments)
Apply the function to the list of arguments, which are tokens.
|
int |
getNumberOfArguments()
Return the number of arguments of the function.
|
boolean |
isCongruent(Function function)
Return true if this function is congruent to the given
function.
|
java.lang.String |
toString()
Return a string representation.
|
public Token apply(Token[] arguments) throws IllegalActionException
Functionapply in interface Functionarguments - The list of arguments.IllegalActionException - If thrown during evaluating
the function.public int getNumberOfArguments()
FunctiongetNumberOfArguments in interface Functionpublic boolean isCongruent(Function function)
FunctionisCongruent in interface Functionfunction - The function to check congruency against.