|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.cuni.jagrlib.DefaultProperty
cz.cuni.jagrlib.Piece
cz.cuni.jagrlib.DefaultIntFunction
public abstract class DefaultIntFunction
Default implementation of IntFunction interface.
| Field Summary |
|---|
| Fields inherited from class cz.cuni.jagrlib.Piece |
|---|
channels, info, pl, plugs, reg, TEMPLATE_TYPE, userBreak |
| Fields inherited from interface cz.cuni.jagrlib.iface.Property |
|---|
LOGGING, STATISTICS, TEXT_DESCRIPTION |
| Constructor Summary | |
|---|---|
DefaultIntFunction()
|
|
| Method Summary | |
|---|---|
int |
g(double x)
Compute the mapping: double -> int. |
int |
g(double[] arg)
Compute the mapping: double[] -> int. |
int |
g(double x,
double y)
Compute the mapping: double[2] -> int. |
int |
g(double x,
double y,
double z)
Compute the mapping: double[3] -> int. |
int |
g(int x)
Compute the mapping: int -> int. |
int |
g(int[] arg)
Compute the mapping: int[] -> int. |
int |
g(int x,
int y)
Compute the mapping: int[2] -> int. |
int |
g(int x,
int y,
int z)
Compute the mapping: int[3] -> int. |
double[] |
getDomain(double[] dom)
Returns domain of the mapping. |
int[] |
getDomain(int[] dom)
Returns domain of the mapping. |
| Methods inherited from class cz.cuni.jagrlib.Piece |
|---|
className, connect, findPlug, findPlug, getInfo, getInterface, getInterface, getPlug, getReg, init, isCompatible, isCompatible, isConnected, logError, logWarning, myInterface, newInputPlug, newOptOutputPlug, newOutputPlug, newPlug, noTemplates, propBegin, propBounds, propDefault, propEnd, propEnum, propManipulator, propManipulator, setProgressListener, setRegStrings, setTemplate, setTemplateDynamic, stop |
| Methods inherited from class cz.cuni.jagrlib.DefaultProperty |
|---|
booleanProperty, booleanProperty, colorDoubleProperty, colorProperty, commit, doubleProperty, doubleProperty, doubleProperty, enumProperty, floatProperty, floatProperty, floatProperty, get, intProperty, intProperty, intProperty, longProperty, longProperty, longProperty, set, set, stringProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface cz.cuni.jagrlib.iface.Property |
|---|
commit, get, set |
| Constructor Detail |
|---|
public DefaultIntFunction()
| Method Detail |
|---|
public int g(double x)
double -> int.
g in interface IntFunctionpublic int g(int x)
int -> int.
g in interface IntFunction
public int g(double x,
double y)
double[2] -> int.
g in interface IntFunction
public int g(int x,
int y)
int[2] -> int.
g in interface IntFunction
public int g(double x,
double y,
double z)
double[3] -> int.
g in interface IntFunction
public int g(int x,
int y,
int z)
int[3] -> int.
g in interface IntFunctionpublic int g(double[] arg)
double[] -> int.
g in interface IntFunctionpublic int g(int[] arg)
int[] -> int.
g in interface IntFunctionpublic double[] getDomain(double[] dom)
getDomain in interface IntFunctiondom - Domain array (dom[0] = Xmin, dom[1] = Xmax, etc.).
public int[] getDomain(int[] dom)
getDomain in interface IntFunctiondom - Domain array (dom[0] = Xmin, dom[1] = Xmax, etc.).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||