Package groundTruthModule.datastructure.PersonEntity

Examples of groundTruthModule.datastructure.PersonEntity.FamilyStatus


        evidence.setResidentNode("hasFamilyStatus");
        argument = new ArgumentInfo();
        argument.setType("Person");
        argument.setName(personName);
        evidence.getArguments().add(argument);
        FamilyStatus status = person.getHasFamilyStatus();
        evidence.setState(status.toString());
        evidenceList.add(evidence);
      }
     
      // Evidence that support the hypothesis hasTerroristBeliefs(person)
      if (person.getHasFriendshipWithTerrorist() != null) {
View Full Code Here


      if (person.getHasFamilyStatus() != null) {
        residentNode = mebn.getDomainResidentNode("hasFamilyStatus");
        arguments = new ObjectEntityInstance[1];
        arguments[0] = mebn.getObjectEntityContainer()
            .getEntityInstanceByName(personName);
        FamilyStatus status = person.getHasFamilyStatus();
        if (status == FamilyStatus.Single) {
          categoricalState = mebn.getCategoricalStatesEntityContainer().getCategoricalState("Single");
        } else {
          categoricalState = mebn.getCategoricalStatesEntityContainer().getCategoricalState("Married");
        }
View Full Code Here

TOP

Related Classes of groundTruthModule.datastructure.PersonEntity.FamilyStatus

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.