cz.cuni.versatile.api.relops
Interface SymmetricClosure

All Superinterfaces:
RelationalOperator

public interface SymmetricClosure
extends RelationalOperator

SymmetricClosure operator turns a source binary relation represented by a RelationalProperty into a symmetric binary relation. In case the source property is already symmetric, the operator should return the source property.

Note: A generic implementation of this interface is feasible which constructs symmetric closures on the fly.

Author:
Jaroslav Gergic
See Also:
RelationalProperty.isSymmetric()

Method Summary
 RelationalProperty symmetricClosure(RelationalProperty source)
          Returns a RelationalProperty which corresponds to a symmetric closure of the source binary relation.
 

Method Detail

symmetricClosure

public RelationalProperty symmetricClosure(RelationalProperty source)
Returns a RelationalProperty which corresponds to a symmetric closure of the source binary relation.

Parameters:
source - a source relational property