Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed parser
Binary file not shown.
Binary file removed src/Action.o
Binary file not shown.
Binary file removed src/DebugWriteController.o
Binary file not shown.
Binary file removed src/Environment.o
Binary file not shown.
Binary file removed src/Events.o
Binary file not shown.
Binary file removed src/FuncAnalysis.o
Binary file not shown.
Binary file removed src/FuncExp.o
Binary file not shown.
Binary file removed src/LaTeXSupport.o
Binary file not shown.
Binary file removed src/Ownership.o
Binary file not shown.
Binary file removed src/Plan.o
Binary file not shown.
10 changes: 8 additions & 2 deletions src/Polynomial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@ void Intervals::writeOffset(double t) const
}
else
{
if(LaTeX) *report << "$";
if(LaTeX)
{
*report << "$";
}
for(vector< pair<intervalEnd,intervalEnd> >::const_iterator i = intervals.begin(); i != intervals.end();)
{

Expand All @@ -154,7 +157,10 @@ void Intervals::writeOffset(double t) const
if(++i != intervals.end()) {if(LaTeX) *report << "\\cup"; else cout << " U ";};

};
if(LaTeX) *report << "$";
if(LaTeX)
{
*report << "$";
}
};


Expand Down
Binary file removed src/Polynomial.o
Binary file not shown.
Binary file removed src/PrettyPrinter.o
Binary file not shown.
12 changes: 9 additions & 3 deletions src/Proposition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3074,7 +3074,10 @@ string Comparison::getExprnString(const expression * e,const Environment & bs) c
s += ")";


if(LaTeX) return "\\exprn{"+ s + "}";
if(LaTeX)
{
return "\\exprn{"+ s + "}";
}
return s;

};
Expand Down Expand Up @@ -3146,8 +3149,11 @@ string Comparison::getExprnString(const expression * e,const Environment & bs, c
{
const FuncExp * fexp = s->getValidator()->fef.buildFuncExp(dynamic_cast<const func_term*>(e),bs);

if(LaTeX) return "\\exprn{"+ toString(fexp) + "}$[=" + toString(fexp->evaluate(s)) + "]$";
return toString(fexp) + "[=" + toString(fexp->evaluate(s)) + "]";
if(LaTeX)
{
return "\\exprn{"+ toString(fexp) + "}$[=" + toString(fexp->evaluate(s)) + "]$";
}
return toString(fexp) + "[=" + toString(fexp->evaluate(s)) + "]";

};

Expand Down
Binary file removed src/Proposition.o
Binary file not shown.
Binary file removed src/RepairAdvice.o
Binary file not shown.
5 changes: 4 additions & 1 deletion src/RobustAnalyse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,10 @@ void RobustPlanAnalyser::calculatePNERobustness(double & robustnessOfPlan,double

string getPlanStepString(const plan_step * ps)
{
if(ps == 0) return "";
if(ps == 0)
{
return "";
}
string act = "("+ps->op_sym->getName();
for(typed_symbol_list<const_symbol>::const_iterator j = ps->params->begin();
j != ps->params->end(); ++j)
Expand Down
Binary file removed src/RobustAnalyse.o
Binary file not shown.
Binary file removed src/State.o
Binary file not shown.
Binary file removed src/TrajectoryConstraints.o
Binary file not shown.
Binary file removed src/TypedAnalyser.o
Binary file not shown.
Binary file removed src/TypedAnalysis.o
Binary file not shown.
Binary file removed src/Utils.o
Binary file not shown.
9 changes: 6 additions & 3 deletions src/Validator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3213,10 +3213,13 @@ pair<const plan_step *,pair<bool,bool> > PlanRepair::repairPlanOneAction(const p


if(planRepairValidator->getErrorLog().getConditions().size() == 0)
{ if(planRepairValidator->checkGoal(theGoal)) //goalSatisfied = true;
{ if(planRepairValidator->checkGoal(theGoal))
{
//goalSatisfied = true;
//cout << "Satisfied "<< actionName << " at time "<<actionTime<<"\n";
actionFixed = true; planRepaired = true; break;
};
actionFixed = true; planRepaired = true; break;
}
};


//get unique set of actions that are flawed
Expand Down
Binary file removed src/Validator.o
Binary file not shown.
Binary file removed src/main.o
Binary file not shown.
Loading