Class SpotNavGraphLocationConsultant

java.lang.Object
edu.tufts.hrilab.consultant.Consultant<SpotNavGraphLocationReference>
edu.tufts.hrilab.spot.consultant.SpotNavGraphLocationConsultant
All Implemented Interfaces:
ConsultantInterface

public class SpotNavGraphLocationConsultant extends Consultant<SpotNavGraphLocationReference>
  • Constructor Details

  • Method Details

    • localConvertToType

      protected <U> U localConvertToType(Symbol refId, Class<U> type)
      Description copied from class: Consultant
      The local implementation of convertToType.
      Specified by:
      localConvertToType in class Consultant<SpotNavGraphLocationReference>
      Type Parameters:
      U - target Java class template type (any)
      Parameters:
      refId - reference resolution ID (e.g.object_3)
      type - target Java class type
      Returns:
      instance of specified target Java class
    • localConvertToType

      protected <U> U localConvertToType(Symbol refId, Class<U> type, List<? extends Term> constraints)
      Description copied from class: Consultant
      The local implementation of convertToType.
      Specified by:
      localConvertToType in class Consultant<SpotNavGraphLocationReference>
      Type Parameters:
      U - target Java class template type (any)
      Parameters:
      refId - reference resolution ID (e.g.object_3)
      type - target Java class type
      constraints - first-order-logic predicate constraints
      Returns:
      instance of specified target Java class
    • loadReferencesFromFile

      public void loadReferencesFromFile(String dir, String filename)
      Load pre-defined references from file via JSON.
      Parameters:
      dir -
      filename -