next up previous
Next: Asserting Facts Up: An Architecture for Previous: User Defined Concepts

Calling the DP as a Black Box Function

Once the primitives of the DP have been defined it can be used just as an ordinary function:

This would return true if there are marsh and forest regions which overlap. Such a function call could occur wherever an ordinary Boolean would normally be found --- for instance in the test part of a conditional statement.

(The example illustrates that it may be possible to provide a facility which would enable one to evaluate a formula with respect to more than one theory --- in this case topology and land_types. This would only be possible if the two theories are logically independent in that the primitive concepts of one theory have no connection with those of the other.)



A G Cohn
Wed Nov 1 13:20:53 GMT 1995