org.caleigo.core
Class EntityRelationPath.PathFinderVisitor

java.lang.Object
  extended byorg.caleigo.core.EntityRelationPath.PathFinderVisitor
Enclosing class:
EntityRelationPath

protected static class EntityRelationPath.PathFinderVisitor
extends java.lang.Object


Nested Class Summary
protected  class EntityRelationPath.PathFinderVisitor.RankedPath
           
 
Field Summary
protected  java.util.Map mBestRankMap
           
protected  IFieldDescriptor[] mFieldWayPoints
           
protected  IEntityDescriptor mStartDescriptor
           
protected  IEntityDescriptor mTargetDescriptor
           
 
Constructor Summary
EntityRelationPath.PathFinderVisitor(IEntityDescriptor startEntity, IEntityDescriptor endEntity, IFieldDescriptor[] fieldWayPoints)
           
 
Method Summary
protected  void findBestPath(IEntityDescriptor entity, EntityRelationPath.PathFinderVisitor.RankedPath entityPath)
           
 IEntityRelationPath getBestRelationPath()
           
protected  int rankRelation(IEntityDescriptor startEntity, IEntityRelation relation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mStartDescriptor

protected IEntityDescriptor mStartDescriptor

mTargetDescriptor

protected IEntityDescriptor mTargetDescriptor

mFieldWayPoints

protected IFieldDescriptor[] mFieldWayPoints

mBestRankMap

protected java.util.Map mBestRankMap
Constructor Detail

EntityRelationPath.PathFinderVisitor

public EntityRelationPath.PathFinderVisitor(IEntityDescriptor startEntity,
                                            IEntityDescriptor endEntity,
                                            IFieldDescriptor[] fieldWayPoints)
Method Detail

getBestRelationPath

public IEntityRelationPath getBestRelationPath()

findBestPath

protected void findBestPath(IEntityDescriptor entity,
                            EntityRelationPath.PathFinderVisitor.RankedPath entityPath)

rankRelation

protected int rankRelation(IEntityDescriptor startEntity,
                           IEntityRelation relation)


Copyright © 2005 Caleigo. All Rights Reserved.