示例#1
0
        //public void Remove (Goal goal)
        //{
        //    this.SubGoalIdentifiers.Remove (goal.Identifier);
        //}

        //public void Remove (DomainProperty domProp)
        //{
        //    this.DomainPropertyIdentifiers.Remove (domProp.Identifier);
        //}

        //public void Remove (DomainHypothesis domHyp)
        //{
        //    this.DomainHypothesisIdentifiers.Remove (domHyp.Identifier);
        //}

        public void AddNegativeSoftGoal(SoftGoal goal)
        {
            this.NegativeSoftGoalsIdentifiers.Add(goal.Identifier);
        }
示例#2
0
 public void AddPositiveSoftGoal(SoftGoal goal)
 {
     this.PositiveSoftGoalsIdentifiers.Add(goal.Identifier);
 }
示例#3
0
 public void Add(SoftGoal softGoal)
 {
     this.goalRepository.Add(softGoal);
 }