public RandomRelatedNodes(RelationshipType relType, Direction direction, Class resultType, Notion notion, int maxDepth, int count) {
super(relType, direction, maxDepth);
// add type predicate
this.addPredicate(new TypePredicate(resultType.getSimpleName()));
this.resultType = resultType;
this.setNotion(notion);
this.count = count;