Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitebd3cdf

Browse files
committed
fixed compile issue
1 parent1eb4b14 commitebd3cdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/num_methods/simulated_annealing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class state{
116116
vector<pair<int,int>> points;
117117

118118
state(){ // Initial random order of points
119-
points = {{0,0},{2,2},{0,2},{2,0},{0,1},{1,2},{2,1},{1,0}};
119+
points = {}; // Fill in some points to start with, or generate them randomly
120120
}
121121
state next(){ // picks 2 random indices and swaps them
122122
state s_next;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp