blob: f856bf4da4906c4671d615fb614f059e070d4f4d [file] [log] [blame]
#pragma once
#include "physical_types.h"
// new data structure
typedef struct s_heap2 {
int prev_node;
int inode;
int position;
float cost;
float R_upstream;
float C_upstream;
float basecost_upstream;
} t_heap2;
void look_ahead_bfs_precal(int start_inode, t_segment_inf *segment_inf);
void pre_cal_look_ahead(t_segment_inf *segment_inf, int num_segment);
void print_cost_map(char *fname);
void print_C_map(float **c_map);
void print_bfs_optimal_path(int term_node);