Uses of Package
adams.flow.standalone
-
Packages that use adams.flow.standalone Package Description adams.flow.core adams.flow.source adams.flow.standalone adams.flow.transformer adams.gui.flow adams.multiprocess adams.opt.genetic -
Classes in adams.flow.standalone used by adams.flow.core Class Description CallableActors Container for actors that need to be accessed via their name.PyroNameServer Defines the Pyro nameserver to use. -
Classes in adams.flow.standalone used by adams.flow.source Class Description FTPConnection Provides access to a FTP host.
If debugging is enabled, the FTP commands issued by other actors will get printed as debug output of this actor.PythonEnvironment Defines what Python executables to use within this context.
On Linux, you can enforce using the system-wide Python 3 executables by supplying '3' as suffix, which gets appended to the executables.SSHConnection Provides access to a remote host via SSH.
For more information see:
(2011). -
Classes in adams.flow.standalone used by adams.flow.standalone Class Description AbstractCallableDatabaseConnection Ancestor for callable database connection standalones.AbstractDatabaseCheck Ancestor for standalone actors that check project-specific database connections.AbstractDatabaseConnection Ancestor for standalone actors providing a database connection different from the system-wide one.AbstractDatabaseConnectionProvider Interface for database connection providers.AbstractDbStandalone Ancestor for standalones that use the database.AbstractMultiView Ancestor for graphical actors that display multiple views.AbstractMultiView.ViewWrapper A wrapper for the actual actors.AbstractMutableActorDaemonEvent Ancestor for daemon events that handle sub-actors.AbstractStandalone Ancestor for all flow items that neither generate nor process tokens.AbstractStandaloneGroup Ancestor for fixed-sized groups.AbstractStandaloneMutableGroup Ancestor for mutable groups of standalones.DatabaseConnectionProvider Interface for database connection providers.DeleteStorageValue.MatchingType Determines how to locate the variable.DeleteVariable.MatchingType Determines how to locate the variable.ExternalFlow.ExecutionType Determines how the flow is executed.ExternalStandalone Standalone that executes an external standalone actor stored on disk.
For executing whole flows, use the adams.flow.standalone.ExternalFlow standalone actor instead.
See also:
adams.flow.standalone.ExternalFlow
JobRunnerInstance Acts as job execution pool for classes implementing adams.multiprocess.JobRunnerSupporter.
See also:
adams.multiprocess.JobRunnerSupporter
JobRunnerSetup Defines the job runner setup to use for parallel/distributed computation.MemoryMonitor.MemoryType What type of memory to monitor.PyroNameServer.Mode The server mode.PythonEnvironment Defines what Python executables to use within this context.
On Linux, you can enforce using the system-wide Python 3 executables by supplying '3' as suffix, which gets appended to the executables.PythonEnvironment.PythonPathUpdateType How to update the environment varibale.QueueEvent Executes its sub-flow after a predefined number of milli-seconds.QueueEvent.QueueEventRunnable Specialized runnable for theQueueEvent
actor.StandaloneGroup Interface for a group of standalones.StandaloneGroupItem The element of a standalone group.StandaloneMutableGroup Interface for a mutable group of standalones.Standalones Container for standalone actors.Stopwatch Stops the execution time of the flow, till either the user stops the flow or the flow finishes by itself
Valid options are:Stopwatch.StopwatchPanel Panel for displaying a stopwatch.Stopwatch.Timer Timer thread class. -
Classes in adams.flow.standalone used by adams.flow.transformer Class Description FTPConnection Provides access to a FTP host.
If debugging is enabled, the FTP commands issued by other actors will get printed as debug output of this actor.JobRunnerInstance Acts as job execution pool for classes implementing adams.multiprocess.JobRunnerSupporter.
See also:
adams.multiprocess.JobRunnerSupporter
JobRunnerSetup Defines the job runner setup to use for parallel/distributed computation.SMBConnection Provides access to a remote host via SMB.SSHConnection Provides access to a remote host via SSH.
For more information see:
(2011).TesseractConfiguration Setup parameters for tesseract.
For more information see:
https://github.com/tesseract-ocr/tesseract
Valid options are: -
Classes in adams.flow.standalone used by adams.gui.flow Class Description SetVariable Sets the value of a variable.
Optionally, the specified value can be expanded, in case it is made up of variables itself.
It is also possible to override the variable value with the value obtained from an environment variable.
Grammar for mathematical expressions (value type 'MATH_EXPRESSION, MATH_EXPRESSION_ROUND'):
expr_list ::= '=' expr_list expr_part | expr_part ;
expr_part ::= expr ;
expr ::= ( expr )
# data types
| number
| string
| boolean
| date
# constants
| true
| false
| pi
| e
| now()
| today()
# negating numeric value
| -expr
# comparisons
| expr < expr
| expr <= expr
| expr > expr
| expr >= expr
| expr = expr
| expr != expr (or: expr <> expr)
# boolean operations
| ! expr (or: not expr)
| expr & expr (or: expr and expr)
| expr | expr (or: expr or expr)
| if[else] ( expr , expr (if true) , expr (if false) )
| ifmissing ( variable , expr (default value if variable is missing) )
| has ( variable )
| isNaN ( expr )
# arithmetics
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr ^ expr (power of)
| expr % expr (modulo)
;
# numeric functions
| abs ( expr )
| sqrt ( expr )
| cbrt ( expr )
| log ( expr )
| log10 ( expr )
| exp ( expr )
| sin ( expr )
| sinh ( expr )
| cos ( expr )
| cosh ( expr )
| tan ( expr )
| tanh ( expr )
| atan ( expr )
| atan2 ( exprY , exprX )
| hypot ( exprX , exprY )
| signum ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| min ( expr1 , expr2 )
| max ( expr1 , expr2 )
| year ( expr )
| month ( expr )
| day ( expr )
| hour ( expr )
| minute ( expr )
| second ( expr )
| weekday ( expr )
| weeknum ( expr )
# string functions
| substr ( expr , start [, end] )
| left ( expr , len )
| mid ( expr , start , len )
| right ( expr , len )
| rept ( expr , count )
| concatenate ( expr1 , expr2 [, expr3-5] )
| lower[case] ( expr )
| upper[case] ( expr )
| trim ( expr )
| matches ( expr , regexp )
| trim ( expr )
| len[gth] ( str )
| find ( search , expr [, pos] ) (find 'search' in 'expr', return 1-based position)
| replace ( str , pos , len , newstr )
| substitute ( str , find , replace [, occurrences] )
| str ( expr )
| str ( expr , numdecimals )
| str ( expr , decimalformat )
| ext ( file_str ) (extracts extension from file)
| replaceext ( file_str, ext_str ) (replaces the extension of the file with the new one)
;
Notes:
- Variables are either all alphanumeric and _, starting with uppercase letter (e.g., "ABc_12"),
any character apart from "]" enclosed by "[" and "]" (e.g., "[Hello World]") or
enclosed by single quotes (e.g., "'Hello World'").
- 'start' and 'end' for function 'substr' are indices that start at 1.
- Index 'end' for function 'substr' is excluded (like Java's 'String.substring(int,int)' method)
- Line comments start with '#'.
- Semi-colons (';') or commas (',') can be used as separator in the formulas,
e.g., 'pow(2,2)' is equivalent to 'pow(2;2)'
- dates have to be of format 'yyyy-MM-dd' or 'yyyy-MM-dd HH:mm:ss'
- times have to be of format 'HH:mm:ss' or 'yyyy-MM-dd HH:mm:ss'
- the characters in square brackets in function names are optional:
e.g. -
Classes in adams.flow.standalone used by adams.multiprocess Class Description JobRunnerSetup Defines the job runner setup to use for parallel/distributed computation.SSHConnection Provides access to a remote host via SSH.
For more information see:
(2011). -
Classes in adams.flow.standalone used by adams.opt.genetic Class Description JobRunnerSetup Defines the job runner setup to use for parallel/distributed computation.