Commits

Luis Torres committed df01aea

Added include guards to objectives

Comments (0)

Files changed (5)

src/ompl/base/objectives/MaximizeMinClearanceObjective.h

 
 /* Author: Luis G. Torres */
 
+#ifndef OMPL_BASE_OBJECTIVES_MAXIMIZE_MIN_CLEARANCE_OBJECTIVE_
+#define OMPL_BASE_OBJECTIVES_MAXIMIZE_MIN_CLEARANCE_OBJECTIVE_
+
 #include "ompl/base/objectives/MinimaxObjective.h"
 
 namespace ompl
         };
     }
 }
+
+#endif

src/ompl/base/objectives/MechanicalWorkOptimizationObjective.h

 
 /* Author: Luis G. Torres */
 
+#ifndef OMPL_BASE_OBJECTIVES_MECHANICAL_WORK_OPTIMIZATION_OBJECTIVE_
+#define OMPL_BASE_OBJECTIVES_MECHANICAL_WORK_OPTIMIZATION_OBJECTIVE_
+
 #include "ompl/base/OptimizationObjective.h"
 
 namespace ompl
         };
     }
 }
+
+#endif

src/ompl/base/objectives/MinimaxObjective.h

 
 /* Author: Luis G. Torres */
 
+#ifndef OMPL_BASE_OBJECTIVES_MINIMAX_OBJECTIVE_
+#define OMPL_BASE_OBJECTIVES_MINIMAX_OBJECTIVE_
+
 #include "ompl/base/OptimizationObjective.h"
 
 namespace ompl
         };
     }
 }
+
+#endif

src/ompl/base/objectives/PathLengthOptimizationObjective.h

 
 /* Author: Luis G. Torres */
 
+#ifndef OMPL_BASE_OBJECTIVES_PATH_LENGTH_OPTIMIZATION_OBJECTIVE_
+#define OMPL_BASE_OBJECTIVES_PATH_LENGTH_OPTIMIZATION_OBJECTIVE_
+
 #include "ompl/base/OptimizationObjective.h"
 
 namespace ompl
         };
     }
 }
+
+#endif

src/ompl/base/objectives/StateCostIntegralObjective.h

 
 /* Author: Luis G. Torres */
 
+#ifndef OMPL_BASE_OBJECTIVES_STATE_COST_OPTIMIZATION_OBJECTIVE_
+#define OMPL_BASE_OBJECTIVES_STATE_COST_OPTIMIZATION_OBJECTIVE_
+
 #include "ompl/base/OptimizationObjective.h"
 
 namespace ompl
         };
     }
 }
+
+#endif