Initializing help system before first use

send

Purpose
Send an event to a running model.
Synopsis
procedure send(mo:Model, class:integer, value:real)
procedure send(class:integer, value:real)
Arguments
mo 
Model to send the event to
class 
Event class (must be >1)
value 
Event value
Further information
1. Events can be sent to models started by the caller (the child models) by using the first form of the procedure and to the model having started the caller (the parent model) with the second form of the procedure. An event can be received only by a running model using the mmjobs module: sending an event to a model that is not running or not using mmjobs is a no-operation.
2. Events are characterized by a class and a value. Event class values can be used to indicate the cause of the event (for instance, 2 could mean `a new solution has been found') and the associated value may specify a property of the given instance (for example an objective value). Except for the special value 1 ( EVENT_END) class values have no predefined meaning.
3. An event of class EVENT_END (=1) and model status as the event value is automatically sent by each model to its parent model when it terminates its execution.
Related topics
Module

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.