DACLIPS::Environment::Job Struct Reference

#include <environment.h>

List of all members.

Public Member Functions

 Job (int p, long int rl)
bool operator< (const Job &other) const
 Job (int p, long int rl)
bool operator< (const Job &other) const

Public Attributes

int priority
long int runlimit


Detailed Description

Encapsulates the concept of a CLIPS job. Has a priority for comparison and a runlimit

Definition at line 504 of file environment.h.


Constructor & Destructor Documentation

DACLIPS::Environment::Job::Job ( int  p,
long int  rl 
) [inline]

Constructor that takes a priority and a CLIPS runlimit

Definition at line 506 of file environment.h.

DACLIPS::Environment::Job::Job ( int  p,
long int  rl 
) [inline]

Constructor that takes a priority and a CLIPS runlimit

Definition at line 506 of file environment.h.


Member Function Documentation

bool DACLIPS::Environment::Job::operator< ( const Job other  )  const [inline]

Comparison operator that compares the priority member

Definition at line 509 of file environment.h.

bool DACLIPS::Environment::Job::operator< ( const Job other  )  const [inline]

Comparison operator that compares the priority member

Definition at line 509 of file environment.h.


Member Data Documentation

The priority of this job. The higher the priority, the higher in the queue.

Definition at line 512 of file environment.h.

How many rules should fire. If runlimit is negative, rules will fire until the agenda is empty

Definition at line 518 of file environment.h.


The documentation for this struct was generated from the following files:

Generated on Mon Jan 10 22:33:44 2011 by  doxygen 1.5.6