Class MockHumanAgent

java.lang.Object
edu.tufts.hrilab.diarc.DiarcComponent
edu.tufts.hrilab.unity.space_station.MockHumanAgent

public class MockHumanAgent extends DiarcComponent
This is a helper component for running a mock unity space station environment. This component is entirely optional, and is only needed to help update player workload values in belief.
  • Constructor Details

    • MockHumanAgent

      public MockHumanAgent()
  • Method Details

    • additionalUsageInfo

      protected List<org.apache.commons.cli.Option> additionalUsageInfo()
      Description copied from class: DiarcComponent
      Override this method to define command line options available in sub-class. This should be paired with a parseArgs implementation.
      Overrides:
      additionalUsageInfo in class DiarcComponent
      Returns:
    • parseArgs

      protected void parseArgs(org.apache.commons.cli.CommandLine cmdLine)
      Description copied from class: DiarcComponent
      Override this method to parse command line args in the sub-class. Called directly after construction to pass runtime values that will override default values. This should parse all the options that additionalUsageInfo provides.
      Overrides:
      parseArgs in class DiarcComponent
    • setWorkload

      public void setWorkload(Integer level)
      Set human workload in belief.
      Parameters:
      level - 0 = low workload, 1 = high workload