TaskFT
TaskFT()luaTable - to store named parameters
| DataTable | the DataTable, this task is based on |
| Description | Textual description of this object (up to 65535 characters) |
| DisabledFlag | If this task is disabled and cannot be run |
| ExtensionsCheckMinLenFlag | Include the minimal length check when considering extensions |
| ExtensionsPrimeCheckAllFlag | Whether all the prime rule and extension tests are enabled |
| ExtensionsPrimeCheckNoneFlag | Whether all the prime rule and extension tests are disabled |
| HypothesisCountMax | Maximal number of hypotheses before generation is interrupted |
| ID | Unique identifier (primary key) of the object |
| IncludeSameFreqExtensionCoefficientFlag | Include extensions of coefficients with no change in the four-fold table |
| IncludeSameFreqExtensionLiteralFlag | Include extensions of cedents with no change in the four-fold table |
| IncludeSymetricFlag | Include both symetric hypotheses |
| IncludeWorseExtensionAntecedentFlag | Include (worse) antecedent extensions (for implications and AAD/BAD) |
| Name | Unique name of this object. Cannot be empty. |
| Note | Text comment to this object (up to 255 characters) |
| PrimeCheckFlag | Proceed with prime rule test for implications |
| Prolong100SFlag | Include succedent extensions of 100% implications |
| TaskGenerationStatus | Status code for task, see TaskGenerationStatus codes |
| TaskGroup | the TaskGroup, this task belongs to |
| canDel () | Returns true if the object could be deleted (is not used) |
| clone () | Creates a clone (an exact copy) of this task |
| findFTQuantifierSetting () | Tries to look-up a FTQuantifierSetting with a unique property given as parameter. Just one parameter has to be specified. Returns nil if FTQuantifierSetting with this property doesn't exists. |
| findFTWholeCedentSetting () | Tries to look-up a FTWholeCedentSetting with a unique property given as parameter. Just one parameter has to be specified. Returns nil if FTWholeCedentSetting with this property doesn't exists. |
| findHypothesis () | Tries to look-up a Hypothesis with a unique property given as parameter. Just one parameter has to be specified. Returns nil if Hypothesis with this property doesn't exists. |
| findHypothesisGroup () | Tries to look-up a HypothesisGroup with a unique property given as parameter. Just one parameter has to be specified. Returns nil if HypothesisGroup with this property doesn't exists. |
| getDataTable () | Returns the DataTable this task is based on, the value of DataTable property |
| getFTQuantifierSettingCount () | Returns number of quantifiers in this task |
| getFTWholeCedentSettingCount () | Returns number of whole cedents in this task |
| getHypothesisCount () | Returns number of hypotheses in this task (if the value of TaskGenerationStatus property is equal or greater then Running, see TaskGenerationStatus codes |
| getHypothesisCountMax () | Returns the value of HypothesisCountMax property |
| getHypothesisGroupCount () | Returns number of groups of hypotheses in this task |
| getID () | Returns unique identifier (primary key) of the object |
| getMissingsTypeCode () | Returns code of handling of missing information, see MissingsType codes |
| getMissingsTypeKey () | Returns unique string key of handling of missing information |
| getMissingsTypeName () | Returns string representation of handling of missing information |
| getName () | Returns the value of Name property, name of this object |
| getNote () | Returns the value of Note property |
| getTaskGenerationStatus () | Returns the value of TaskGenerationStatus property |
| getTaskGenerationStatusStr () | Returns textual description of the value of TaskGenerationStatus property |
| getTaskGroup () | Returns the TaskGroup this task belongs to, the value of TaskGroup property |
| getTaskSubTypeCode () | Returns code of sub-type of this task (type of patterns it looks for), see TaskSubType codes |
| getTaskSubTypeKey () | Returns unique string key of sub-type of this task (type of patterns it looks for) |
| getTaskSubTypeName () | Returns string representation of sub-type of this task (type of patterns it looks for) |
| isDisabledFlag () | Returns the value of DisabledFlag property |
| isExtensionsPrimeCheckAllFlag () | Returns the value of ExtensionsPrimeCheckAllFlag property |
| isExtensionsPrimeCheckNoneFlag () | Returns the value of ExtensionsPrimeCheckNoneFlag property |
| isTaskGenerationStatusFinished () | Returns true when the value of TaskGenerationStatus property is Solved, Interrupted or Failed |
| isTaskGenerationStatusInProcess () | Returns true when the value of TaskGenerationStatus property is Request, Waiting or Running |
| onAdd () | Store the newly created object into metabase |
| onDel () | Delete the object from metabase (fails if canDel returns false) |
| onUpdate () | Save changes made to the object into metabase |
| prepareFTQuantifierSettingArray () | Returns array of FTQuantifierSettings (quantifiers in this task) |
| prepareFTWholeCedentSettingArray () | Returns array of FTWholeCedentSettings (the whole cedents in this task) |
| prepareHypothesisArray () | Returns array of hypotheses in this task. Returns objects of a descendant class corresponding to this task type (ie. HypothesisFT for TaskFT etc.) |
| prepareHypothesisGroupArray () | Returns array of groups of hypotheses in this task |
| queryTaskGenerationStatus () | Re-reads the task state from metabase and returns 1 if the the state has changed from isTaskGenerationStatusInProcess to isTaskGenerationStatusFinished, otherwise returns 0 |
| runAndWaitForResults () | Starts the data-mining task and waits till it has finished |
| runAsync () | Starts the task (if not already in isTaskGenerationStatusInProcess) in a parallel thread and returns immediately |
| setDisabledFlag () | Sets the value of DisabledFlag property |
| setExtensionsPrimeCheckAllFlag () | Sets the value of ExtensionsPrimeCheckAllFlag property |
| setExtensionsPrimeCheckNoneFlag () | Sets the value of ExtensionsPrimeCheckNoneFlag property |
| setHypothesisCountMax () | Sets the value of HypothesisCountMax property |
| setMissingsTypeCode () | Sets code of handling of missing information, see MissingsType codes |
| setName () | Sets the value of Name property, name of this object (must be unique) |
| setNote () | Sets the value of Note property |
| setTaskGroup () | Sets the TaskGroup this task belongs to, the value of TaskGroup property |
| waitForResults () | Waits till the task state changes to isTaskGenerationStatusFinished |
DataTable (read-only) : DataTableDescription : stringDisabledFlag : booleanExtensionsCheckMinLenFlag : booleanExtensionsPrimeCheckAllFlag (read-only) : booleanExtensionsPrimeCheckNoneFlag (read-only) : booleanHypothesisCountMax : integerID (read-only) : integerIncludeSameFreqExtensionCoefficientFlag : booleanIncludeSameFreqExtensionLiteralFlag : booleanIncludeSymetricFlag : booleanIncludeWorseExtensionAntecedentFlag : booleanName : stringNote : stringPrimeCheckFlag : booleanProlong100SFlag : booleanTaskGenerationStatus (read-only) : integerTaskGroup (read-only) : TaskGroupcanDel() : booleanbooleanclone() : TaskTask - cloned taskfindFTQuantifierSetting() : FTQuantifierSettingnil if FTQuantifierSetting with this property doesn't exists.
luaTable - to store named parameters
nFTQuantifierTypeCode : integer - FTQuantifierType code to identify the quantifier to find
FTQuantifierSetting - or nilfindFTWholeCedentSetting() : FTWholeCedentSettingnil if FTWholeCedentSetting with this property doesn't exists.
luaTable - to store named parameters
nCedentTypeCode : integer - CedentType code to identify the whole cedent to find
FTWholeCedentSetting - or nilfindHypothesis() : Hypothesisnil if Hypothesis with this property doesn't exists.
luaTable - to store named parameters
nID : integer - an ID of the Hypothesis to look-up
Hypothesis - or nilfindHypothesisGroup() : HypothesisGroupnil if HypothesisGroup with this property doesn't exists.
luaTable - to store named parameters
nID : integer - an ID of the HypothesisGroup to look-up
name : string - a name of the group of hypotheses to look-up
HypothesisGroup - or nilgetDataTable() : DataTablegetFTQuantifierSettingCount() : integerintegergetFTWholeCedentSettingCount() : integerintegergetHypothesisCount() : integerintegergetHypothesisCountMax() : integerintegergetHypothesisGroupCount() : integerintegergetID() : integerintegergetMissingsTypeCode() : integerintegergetMissingsTypeKey() : stringstringgetMissingsTypeName() : stringstringgetName() : stringstringgetNote() : stringstringgetTaskGenerationStatus() : integerintegergetTaskGenerationStatusStr() : stringstringgetTaskGroup() : TaskGroupgetTaskSubTypeCode() : integerintegergetTaskSubTypeKey() : stringstringgetTaskSubTypeName() : stringstringisDisabledFlag() : booleanbooleanisExtensionsPrimeCheckAllFlag() : booleanbooleanisExtensionsPrimeCheckNoneFlag() : booleanbooleanisTaskGenerationStatusFinished() : booleanbooleanisTaskGenerationStatusInProcess() : booleanbooleanonAdd()onDel()onUpdate()prepareFTQuantifierSettingArray() : luaTableluaTableprepareFTWholeCedentSettingArray() : luaTableluaTableprepareHypothesisArray() : luaTableluaTableprepareHypothesisGroupArray() : luaTableluaTablequeryTaskGenerationStatus() : integerinteger - one or zerorunAndWaitForResults()luaTable - to store named parameters
nTargetPlatform : integer - TargetPlatform code
bForceRunFinished : boolean - if true, forces the task to be run again even if it is already finished
integer - number of launched tasks (0 or 1)
runAsync()luaTable - to store named parameters
nTargetPlatform : integer - TargetPlatform code
bForceRunFinished : boolean - if true, forces the task to be run again even if it is already finished
integer - number of launched tasks
setDisabledFlag( boolean )booleansetExtensionsPrimeCheckAllFlag( boolean )booleansetExtensionsPrimeCheckNoneFlag( boolean )booleansetHypothesisCountMax( integer )integersetMissingsTypeCode( integer )integersetName( string )string - cannot be emptysetNote( string )stringsetTaskGroup( TaskGroup )waitForResults()luaTable - to store named parameters
nSleepTime : integer - time (in milliseconds) between two checks for change in metabase