-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDummyTS.inc
74 lines (59 loc) · 1.65 KB
/
DummyTS.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
Copyright (c) Peter Karpov 2010 - 2018.
Usage of the works is permitted provided that this instrument is retained with
the works, so that any entity that uses the works is notified of this instrument.
DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.
}
// ListTo := ListFrom
procedure AssignTabuList(
var ListTo : TTabuList;
const ListFrom : TTabuList);
begin
Assert(False, ErrorUndefined);
end;
// Age the TabuList
procedure InitTabuList(
var TabuList : TTabuList);
begin
Assert(False, ErrorUndefined);
end;
// Perform aging of the _TabuList_
procedure AgeTabuList(
var TabuList : TTabuList);
begin
Assert(False, ErrorUndefined);
end;
// Add a Move that will be applied to Sol to the TabuList with Tenure
procedure AddToTabuList(
var TabuList : TTabuList;
const Move : TMove;
Tenure : Integer;
const Sol : TSolution);
begin
Assert(False, ErrorUndefined);
end;
// Make a MoveList for the tabu search
procedure MakeTSMoveList(
var MoveList : TMoveList;
const Solution : TSolution);
begin
Assert(False, ErrorUndefined);
end;
// Return whether a Move is in the Solution's TabuList
function IsMoveTabu(
const Move : TMove;
const Solution : TSolution;
const TabuList : TTabuList
) : Boolean;
begin
Assert(False, ErrorUndefined);
Result := False;
end;
// Return a tabu tenure at normalized time t
function TabuTenure(
t : Real // [0 .. 1]
) : Integer;
begin
Assert(False, ErrorUndefined);
Result := 0;
end;