node_parcouru.h 658 Bytes
Newer Older
jben's avatar
jben committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef H_NODE_PARCOURU
#define H_NODE_PARCOURU 1

#include "database.h"
#include "model.h"
#include<list>

class node_parcouru
{
    public:
    node n_node;
    std::list<unsigned long long> lull_adj;

    bool b_frozen;
    bool b_defined;

    etat_cycliste e_etat_cycliste_optimal;

    unsigned long long ull_from;
    double d_cout_minimal;

    double d_cout_minimal_arrive;
jben's avatar
jben committed
23
    double d_dist_min_arrive;
jben's avatar
jben committed
24 25 26 27 28

    node_parcouru() : b_defined(false),b_frozen(false),n_node(0,0,0,0) {}
        
    bool defined() {return b_defined;}

jben's avatar
jben committed
29
    void set(unsigned long long ull_id, database*  pD_db, const node & n_arrivee, const  model & m_model);
jben's avatar
jben committed
30 31 32 33 34 35
};




#endif