代码搜索:Distance
找到约 8,736 项符合「Distance」的源代码
代码结果 8,736
www.eeworm.com/read/342759/12000867
html dijkstra.cpp.html
dijkstra.cpp
1 #include <map>
2 #include <queue>
3 #include <iostream>
4
5 using namespace std;
6
www.eeworm.com/read/342759/12000874
cpp dijkstra.cpp
#include
#include
#include
using namespace std;
/**
A utility class representing distance to a given city.
*/
class DistanceToCity
{
public:
DistanceToCit
www.eeworm.com/read/153071/12061865
m center.m
function point=center(in,real_end)
[num_point,dummy]=size(real_end);
[height,width]=size(in);
center=[ceil(height/2),ceil(width/2)];
min_distance=((real_end(1,1)-center(1))^2+(real_end(1,2)-cent
www.eeworm.com/read/128525/14292260
m tourdist.m
function tour_distance = tourdist(tourvec, distance_matrix);
% This function is used with Tspsiman.m.
% 2D Euclidian Traveling Salesman Problem (TSP)
% Nearest Neighbor tour construction + 2-Opt lo
www.eeworm.com/read/122360/14698747
m tourdist.m
function tour_distance = tourdist(tourvec, distance_matrix);
n_cities = length(tourvec);
city = 1;
tour_distance = 0;
while city
www.eeworm.com/read/219925/14859788
c kickeanddefengsivefootball.c
#include "HardwareInfo.c"
#include
#include
#include
#include
#include "checkDeath.c"
#include
#include
#
www.eeworm.com/read/219925/14859816
c ultravsound.c
#ifndef _ULTRAVSOUND_
#define _ULTRAVSOUND_
#include "HardwareInfo.c"
#include "turnAngle.c"
#include
#include "goline.c"
#include "returnOut.c"
#include "comeBack.c"
void
www.eeworm.com/read/219925/14859896
c kickanddefengsivefootball.c
#ifndef _KICKANDDEFENGSIVEFOOTBALL_
#define _KICKANDDEFENGSIVEFOOTBALL_
#include "HardwareInfo.c"
#include
#include
#include
#include
www.eeworm.com/read/219925/14859915
c ultravsound.c
#ifndef _ULTRAVSOUND_
#define _ULTRAVSOUND_
#include "HardwareInfo.c"
#include "turnAngle.c"
#include
#include "goline.c"
#include "returnOut.c"
#include "comeBack.c"
void
www.eeworm.com/read/219925/14859944
c kickfootball.c
#ifndef _KICKFOOTBALL_
#define _KICKFOOTBALL_
#include "HardwareInfo.c"
#include
#include
#include
#include
#include "checkDeath.c"