Home
last modified time | relevance | path

Searched refs:vertices (Results 1 – 2 of 2) sorted by relevance

/oneTBB/examples/concurrent_priority_queue/shortpath/
H A Dshortpath.cpp90 point_set vertices; // vertices variable
113 get_distance(vertices[src], vertices[dst]); // estimate distance from src to dst in shortpath()
138 double new_g_v = old_g_u + get_distance(vertices[u], vertices[v]); in shortpath_helper()
148 g_distance[v] + get_distance(vertices[v], vertices[dst]); in shortpath_helper()
190 double seg_length = get_distance(vertices[path[i]], vertices[path[i + 1]]); in print_path()
215 vertices.resize(N); in InitializeGraph()
229 vertices[i] = generate_random_point(my_random); in InitializeGraph()
/oneTBB/examples/parallel_for/tachyon/src/
H A Dapigeom.cpp127 vector *vertices; in rt_sheightfield() local
133 vertices = (vector *)malloc(m * n * sizeof(vector)); in rt_sheightfield()
147 vertices[addr] = in rt_sheightfield()
177 vertices[addr], in rt_sheightfield()
178 vertices[addr + 1 + m], in rt_sheightfield()
179 vertices[addr + 1], in rt_sheightfield()
184 vertices[addr], in rt_sheightfield()
185 vertices[addr + m], in rt_sheightfield()
186 vertices[addr + 1 + m], in rt_sheightfield()
194 free(vertices); in rt_sheightfield()