Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
jafar::ride::Config Class Reference

full Configuration of the formation, computes the next Slots config at each step More...


Detailed Description

full Configuration of the formation, computes the next Slots config at each step

Definition at line 76 of file config.hpp.

#include <config.hpp>

List of all members.

Public Member Functions

 Config (Formation const &form)
void addConstraint (std::list< Constraint * > fullConstList)
void addConstraint (Constraint *constraint)
void removeConstraint (int id)
void clearConstraintList ()
std::list< Constraint * > getConstraintList () const
void addThreat (Threat threat)
void removeThreat (int id)
void clearThreatList ()
GlobalThreat getThreatList () const
void computeTimeLine (Trajectory const &traj)
GlobalAlloc getAllocation () const
std::list< FormationCommandupdateFormation (Formation const &form, int slotUpdate=GC::SLOT_UPDATE_RATE, int planUpdate=GC::PLAN_UPDATE_RATE)
configState getConfigState () const
Formation joinFormation (std::list< Formation > formList) const
std::list< FormationsplitFormation () const
void splitDone ()

Private Member Functions

void computeFormation (posTraj const &pos, Interval const &inter)
std::vector< tagSlotplaceSingleFormation (posTraj const &pos, Interval const &inter, std::list< Alloc > &allocList)
std::vector< tagSlotplaceGroupFormation (posTraj const &pos, Interval const &inter, std::list< Alloc > &allocList)
void computePotential (posTraj const &pos, Interval const &inter)
Vect getPotAttractive (State const &uav, State const &jammer, Vect const &pos, double Dmin)
bool testPlannedMode (int slotUpdate, int planUpdate)
bool plannedMoveNeeded () const
bool setMultiTrajStep (int index)
bool testSplit (Interval const &inter) const

Private Attributes

int updateStep
int slotUpdateStep
Formation goal
Formation current
Trajectory trajectory
int currentWP
std::list< Constraint * > constraintList
GlobalThreat threats
GlobalAlloc alloc
TimeLine timeLine
bool plannedMode
int planStep
int lastPlanMoveStep
MultiTrajectory multiTraj
double meanRefreshTime
double meanTransitionTime
bool splitRunning
bool splitReady
std::list< int > splitGroupId
std::list< unprotectedSlotunprotected

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:44 for Jafar by doxygen 1.7.6.1
LAAS-CNRS