node_parcouru.cc 407 Bytes
Newer Older
jben's avatar
jben committed
1 2
#include "node_parcouru.h"

jben's avatar
jben committed
3
void node_parcouru::set(unsigned long long ull_id, database*  pD_db, const node & n_arrivee, const  model & m_model)
jben's avatar
jben committed
4
{
jben's avatar
jben committed
5 6
    n_node = pD_db->get_node(ull_id);
    lull_adj = pD_db->get_adjoining(ull_id);
jben's avatar
jben committed
7 8

    d_cout_minimal_arrive = m_model.cout_minimal(n_node,n_arrivee);
jben's avatar
jben committed
9
    d_dist_min_arrive = m_model.dist_node(n_node,n_arrivee);
jben's avatar
jben committed
10 11 12 13 14 15

    b_frozen = false;

    b_defined=true;
}