protected class FactorOracle.ChordFunction extends java.lang.Object implements Function
MusicSpecs.getChordPitches(String, boolean)
.Modifier and Type | Class and Description |
---|---|
protected class |
FactorOracle.ChordFunction.ChordFunctionToken
A chord function token.
|
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
Function
apply
in interface Function
arguments
- The list of arguments.IllegalActionException
- If thrown during evaluating
the function.public int getNumberOfArguments()
Function
getNumberOfArguments
in interface Function
public boolean isCongruent(Function function)
Function
isCongruent
in interface Function
function
- The function to check congruency against.