home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / lifeos2.zip / LIFE-1.02 / EXAMPLES / SCHEDULE.DOC < prev    next >
Text File  |  1996-06-04  |  1KB  |  49 lines

  1.  
  2.                         A LITTLE PERT SCHEDULER
  3.  
  4.  
  5.  NAME
  6.  
  7.  schedule: A demo using constraints on sorts and residuation to achieve
  8.            performance and conciseness.
  9.  
  10.  
  11.  USAGE (see examples)
  12.  In a query, declare the tasks you consider and the information you have
  13.  about them:
  14.        A1 = task( duration => 34, prerequisites => [A2,A3]), ...
  15.             %%% A2 and A3 must be defined in the same query, and are references
  16.             %%% to tasks that must be performed before A1 
  17.  
  18.  when all tasks are declared, they may be visualized with
  19.        visAllTasks(List_of_Tasks)?
  20.  
  21.  See the sample inputs in schedule.lf
  22.  
  23.  
  24.  FILES
  25.  The file schedule.lf contains the scheduler. 
  26.  
  27.  
  28.  DESCRIPTION
  29.  
  30.  All constraints are set during the type check, and they are released as soon
  31.  as if enough information is known.
  32.  Each time a task is defined, the earlyStart field is initialized with the
  33.  earlyCalc function. This function takes the list of prerequisites as argument,
  34.  and residuates on the tasks which are still undefined.
  35.  
  36.  Defining the task also sets a set of constraints on the lateStart field of
  37.  the prerequisites. Here again, these constraints residuate until enough
  38.  information is known.
  39.  
  40.  This way, every necessary computation is done once and only once.
  41.  
  42.  
  43.  AUTHOR
  44.  
  45.  Bruno Dumant
  46.  
  47.  Copyright 1992 Digital Equipment Corporation
  48.  All rights reserved
  49.