コード例 #1
0
 public Goal(string name, GoalTypes type, DecompositionTypes decomposition, List <Goal> goalConstraints, List <WorldContext> contextConstraints)
 {
     Name               = name;
     Type               = type;
     Decomposition      = decomposition;
     GoalConstraints    = goalConstraints;
     ContextConstraints = contextConstraints;
 }
コード例 #2
0
ファイル: Context.cs プロジェクト: CJTS/REFSQ_2018
 public MeansOfHelping(DecompositionTypes decomposition, bool happen = true)
 {
     Facts = new List <Fact>()
     {
         new Fact(FactTypes.HasAmbulanceAccess, DecompositionTypes.OR),
     };
     Happen        = happen;
     Decomposition = decomposition;
 }
コード例 #3
0
ファイル: Context.cs プロジェクト: CJTS/REFSQ_2018
 public PhysicalActivityContext(DecompositionTypes decomposition, bool happen = true)
 {
     Facts = new List <Fact>()
     {
         new Fact(FactTypes.WalksOrRunsAsAPhysicalActivity, DecompositionTypes.OR),
     };
     Happen        = happen;
     Decomposition = decomposition;
 }
コード例 #4
0
ファイル: Context.cs プロジェクト: CJTS/REFSQ_2018
 public MeansOfInformation(DecompositionTypes decomposition, bool happen = true)
 {
     Facts = new List <Fact>()
     {
         new Fact(FactTypes.HasCellPhone, DecompositionTypes.OR),
     };
     Happen        = happen;
     Decomposition = decomposition;
 }
コード例 #5
0
ファイル: Context.cs プロジェクト: CJTS/REFSQ_2018
 public MeansOfCommunication(DecompositionTypes decomposition, bool happen = true)
 {
     Facts = new List <Fact>()
     {
         new Fact(FactTypes.HasCellPhone, DecompositionTypes.OR),
         new Fact(FactTypes.HasInternet, DecompositionTypes.OR),
     };
     Happen        = happen;
     Decomposition = decomposition;
 }
コード例 #6
0
ファイル: Context.cs プロジェクト: CJTS/REFSQ_2018
 public MobilityIssue(DecompositionTypes decomposition, bool happen = true)
 {
     Facts = new List <Fact>()
     {
         new Fact(FactTypes.DifficultyInWalking, DecompositionTypes.OR),
         new Fact(FactTypes.HasAWheelChair, DecompositionTypes.OR),
     };
     Happen        = happen;
     Decomposition = decomposition;
 }
コード例 #7
0
ファイル: Context.cs プロジェクト: CJTS/REFSQ_2018
 public TecnologyAversionContext(DecompositionTypes decomposition, bool happen = true)
 {
     Facts = new List <Fact>()
     {
         new Fact(FactTypes.DontLikeTecnology, DecompositionTypes.OR),
         new Fact(FactTypes.HasBadExperiencesWithTecnology, DecompositionTypes.OR),
         new Fact(FactTypes.WantsToAvoidFrustatingExperiencesWithTecnoloies, DecompositionTypes.OR),
     };
     Happen        = happen;
     Decomposition = decomposition;
 }
コード例 #8
0
ファイル: Context.cs プロジェクト: CJTS/REFSQ_2018
 public HomeAssistanceContext(DecompositionTypes decomposition, bool happen = true)
 {
     Facts = new List <Fact>()
     {
         new Fact(FactTypes.LivesWithHisOrHersChildrens, DecompositionTypes.OR),
         new Fact(FactTypes.HasANurse, DecompositionTypes.OR),
         new Fact(FactTypes.LivesInAnAsylum, DecompositionTypes.OR),
         new Fact(FactTypes.HasAnAssistedLivingDevice, DecompositionTypes.OR),
     };
     Happen        = happen;
     Decomposition = decomposition;
 }
コード例 #9
0
ファイル: Context.cs プロジェクト: CJTS/REFSQ_2018
 public HealthRiskContext(DecompositionTypes decomposition, bool happen = true)
 {
     Facts = new List <Fact>()
     {
         new Fact(FactTypes.HasDiabetes, DecompositionTypes.OR),
         new Fact(FactTypes.HasHBP, DecompositionTypes.OR),
         new Fact(FactTypes.Cardiac, DecompositionTypes.OR),
         new Fact(FactTypes.HasRheumatiod, DecompositionTypes.OR),
         new Fact(FactTypes.ProneToFalling, DecompositionTypes.OR),
         new Fact(FactTypes.HasOsteoporosis, DecompositionTypes.OR),
     };
     Happen        = happen;
     Decomposition = decomposition;
 }
コード例 #10
0
ファイル: Context.cs プロジェクト: CJTS/REFSQ_2018
 public Fact(FactTypes type, DecompositionTypes decomposition)
 {
     Type          = type;
     Decomposition = decomposition;
 }