代码搜索:SWAP
找到约 10,000 项符合「SWAP」的源代码
代码结果 10,000
www.eeworm.com/read/288118/8651908
c swap3.c
www.eeworm.com/read/287166/8713821
c m_swap.c
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id: m_swap.c,v 1.3 2001/02/24 13:35:20 bpereira Exp $
//
// Copyright (
www.eeworm.com/read/287166/8713824
h m_swap.h
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id: m_swap.h,v 1.4 2001/04/17 22:26:07 calumr Exp $
//
// Copyright (C)
www.eeworm.com/read/386978/8714821
m swap_routing.m
function [x1,changex,l1]=swap_routing(x0,l0)
global customer;
global depot;
global demand;
NumberRoute=length(l0);
a=ceil(NumberRoute*rand);
b=ceil(NumberRoute*rand);
while a==b
a=ceil(Nu
www.eeworm.com/read/386978/8714843
asv swap_routing.asv
function x1=swap_routing(x0)
a=unirnd(NumberRoute);
b=unirnd(NumberRoute);
while a==b
a=unirnd(NumberRoute);
b=unirnd(NumberRoute);
end
c1_index=unirnd(l0(a));
c1=x0(a,c1_index+1);
fo
www.eeworm.com/read/386978/8714862
m swap_location.m
function [x1,changex,l1]=swap_location(x0,l0)
global customer;
global depot;
global demand;
NumberRoute=length(l0);
a=ceil(NumberRoute*rand);
b=0;
for j=1:NumberRoute
if x0(a,1)~=x0(j,1)
www.eeworm.com/read/386978/8714879
asv swap_location.asv
function [x1,changex,l1]=swap_location(x0,l0)
global customer;
global depot;
global demand;
x0 =[ 1 6 0 0
1 8 5 10
1 3 0 0
1 9 2
www.eeworm.com/read/286953/8735441
c use_swap.c
#include
void swap_values(int *, int *);
void main(void)
{
int a = 1, b = 2;
printf("Original values a %d b %d\n", a, b);
swap_values(a, b);
printf("Swapped value
www.eeworm.com/read/187002/8884223
c use_swap.c
#include
void swap_values(int *, int *);
void main(void)
{
int a = 1, b = 2;
printf("Original values a %d b %d\n", a, b);
swap_values(a, b);
printf("Swapped value
www.eeworm.com/read/186780/8910664
pl0 swap.pl0
PROGRAM SSWAP;
VAR
A,B:INTEGER;
FUNCTION SWAP(VAR C,D:INTEGER):INTEGER;
VAR
TEMP:INTEGER;
BEGIN
TEMP:=C;
C:=D;
D:=TEMP;
END;
BEGIN
A:=3;