- All Implemented Interfaces:
- com.pholser.junit.quickcheck.generator.Gen<ai.grakn.concept.Relationship>, com.pholser.junit.quickcheck.generator.Shrink<ai.grakn.concept.Relationship>
public class RelationsFromRolePlayers
extends FromTxGenerator<ai.grakn.concept.Relationship>
A generator that produces Relationships from existing role-players.
This means the relation is navigated to from another Thing attached to it. This will find relations even
if they are not returned by RelationshipType.instances().
- Author:
- Felix Chapman