Validating Required Resource String

STK Scheduler uses a logical routine to validate the contents of the Resource Constraints Textbox located on the Resources Required Tab of the Task Definition Form. This routine is provided to ensure that the logical string is valid and may be used to create the task's possibility strings.

The validation performs the following checks:

  • All of the resources in the string appear in the resources available list.
  • There are n number of resources connected by n-1 number of conjunctions.
  • There us a conjunction between consecutive resources.
  • There is a resource between consecutive conjunctions.
  • There is an equal number of open and close parentheses.
  • ANDs and ORs do not appear together in the same parenthetical group.

If one or more of these checks fail, STK Scheduler will present an error message stating the nature of the problem. The text in the Resource Constraints Textbox will turn red indicating that it is not a valid string. No possibilities will be created.


Once the error message is OK'd, you are free to edit the string in any manner to rectify the problem. Once the problem is fixed, you should click the Create Possibilities Button again.


STK Scheduler does not give verification of a valid string, If no error messages are seen and the text remains black, the string is valid. STK Scheduler ill then create the possibilities for the task. The possibilities can be viewed on the Timeslots Definitions Tab of the Task Definition Form.