| Applying science to business management |
  
Using Library Models
You use a library model in developing another model exactly as
you would use a primitive. That is, simply reference it by name.
When you construct a tree that uses a library model, the library
model is initially displayed as an undefined node. At that time,
DecisionPro has no definition for the function so it is
undefined. It is not until you first attempt to recalculate that
the library model is loaded. Once the model is loaded, the
undefined node disappears.
Library models are shown as undefined nodes before
recalculating.
All referenced library models are loaded in the first
calculation.
You never have to load library models explicitly; this is done
for you automatically. Once a model is loaded, it remains active
in memory for the entire duration of the current session.
Library Directories
When DecisionPro searches your hard disk for library models,
it actually searches only in specific directories you declare as
library directories. You indicate which directories contain
library models using the Library page in the System
Options dialog box. This dialog box is accessed by clicking System
Options in the Tools menu. List your library
directories in the Library path field.
Library directories must be specified as full directory names
separated by semicolons (;). For example,
C:\DECISION\LIB1;C:\DECISION\LIB2
DecisionPro searches the directories in the order listed and
will load the first library model it finds with the required
name.
When you save a library model, be sure you save it in a
library directory. In any other directory, the model will never
be found by DecisionPro.
|