specializes_class/2-3


Description

specializes_class(Class, Superclass)

specializes_class(Class, Superclass, Scope)

Enumerates, by backtracking, all pairs of objects such that the first one specializes the second.

Template and modes

specializes_class(?object_identifier, ?object_identifier)

specializes_class(?object_identifier, ?object_identifier, ?entity_scope)

Errors

Class is neither a variable nor a valid object identifier:
type_error(object_identifier, Class)
Superclass is neither a variable nor a valid object identifier:
type_error(object_identifier, Superclass)
Scope is neither a variable nor a valid entity scope:
type_error(entity_scope, Scope)

Examples

| ?- specializes_class(Subclass, state_space).

| ?- specializes_class(Subclass, state_space, public).

Previous | Next | Table of Contents | Bibliography | Glossary

Last updated on: July 4, 2000