Darkness 2010-11-10 12:00:00 UTC
 
Twilight 2010-11-11 12:00:00 UTC
 
Daylight 2010-11-12 12:00:00 UTC
 
Finish 2010-11-17 12:00:00 UTC

Sailing Home - Comments

Search Comments

Go

Date Submission Comment
2010-11-17 18:38:50 UTC Nexus 92
by Nicholas Howe
This was one of my attempts at the 100-node challenge, submitted four minutes too late due to a clock mismatch. Didn't matter anyway, because others were better. But I managed to squeeze a few nodes out of the varargout trick.
by Nicholas Howe
2010-11-17 17:00:33 UTC Last roll of the dice...
by Amitabh Verma
Last roll of the dice...
by Amitabh Verma
2010-11-17 15:57:03 UTC How can this NOT be better?!
by the cyclist
Pondering on the exact same question :)
by Amitabh Verma
2010-11-17 15:56:47 UTC p_Cat1
by Rafal Kasztelanic
function [thrustRow, thrustCol] = solverCat1(chart, aIndex, bIndex, maxThrottle)


y_winds = chart(:,:,1);
x_winds = chart(:,:,2);
[ny,nx] = size(x_winds);
ay = rem(aIndex-1, ny) + 1;
ax = (aIndex - ay)/ny + 1;
by = rem(bIndex-1, ny) + 1;
bx = (bIndex - by)/ny + 1;

[thrustRow1, thrustCol1, score1] = nickelfelpeterv3(y_winds, x_winds, ay, ax, by, bx, maxThrottle, ny, nx);

if score1<18
thrustRow=thrustRow1;
thrustCol=thrustCol1;
return
end

[thrustRow0, thrustCol0, score0] = nickelfelpeterv2(y_winds, x_winds, ay, ax, by, bx, maxThrottle, ny, nx);
if score0<score1,
thrustRow=thrustRow0;
thrustCol=thrustCol0;
else
thrustRow=thrustRow1;
thrustCol=thrustCol1;
end

if abs(ay-by)>5
if ay<by
if ay>1
y_winds(1:ay-1,:) = [];
x_winds(1:ay-1,:) = [];
ny = ny-ay+1;
by = by-ay+1;
ay = 1;

by Rafal Kasztelanic
2010-11-17 14:54:52 UTC betterwayback0
by Werner
nickfelpeter + ...
by Werner
2010-11-17 12:29:18 UTC clean up
by Magnus
nice result by Mike, time less nice
by Magnus
2010-11-17 11:47:14 UTC Robot Monster
by Mike Russell
I like different code
by Mike Russell
2010-11-17 10:24:19 UTC my code (come on!)
by William Song
I am failed!
by William Song
2010-11-17 09:35:03 UTC FirstTry
by too ym
Testing
by too ym
2010-11-17 09:21:55 UTC my code (come on!)
by William Song
COME ON
by William Song
2010-11-17 06:21:57 UTC my code(faster)
by William Song
speed up!
by William Song
2010-11-17 05:56:54 UTC my code(best)
by William Song
come on
by William Song
2010-11-17 05:38:14 UTC my code(change the codes on line 47-49)
by William Song
% line 47-49
if isempty(ras) % policy
a=1; % old code is 'a=unidrnd(aN,1);'
else
......................
by William Song
2010-11-17 05:30:49 UTC Deep Space 1
by Amitabh Verma
Hit or Flop ?
by Amitabh Verma
2010-11-17 05:29:10 UTC my code(no 'end')
by William Song
I just delete the 'end' in solver.m
by William Song
2010-11-17 05:16:00 UTC my code(modified)
by William Song
it is a tiny error. the 'end' is at wrong place.
by William Song
2010-11-17 05:09:52 UTC my code
by William Song
apply Q-learning to find the best way. if it is not found, please make the learning-times larger.

best wishes
by William Song
2010-11-17 05:08:04 UTC my code
by William Song
function [thrustRow, thrustCol] = solver(chart, aIndex, bIndex, maxThrottle)
% Basic solver, does nothing

% Copyright 2010 The MathWorks, Inc.
[r,c]=size(chart(:,:,1));
[aRow,aCol]=ind2sub([r,c],aIndex);
[bRow,bCol]=ind2sub([r,c],bIndex);

% define the task and robot
task=struct('initialState',[aRow;aCol;0;0;0],'midState',[bRow;bCol;0;0;0],'terminalState',[aRow;aCol;0;0;1],'scale',[r,c]); % task
robot=struct('alpha',1,'gamma',1,'states',[aRow;aCol;0;0;0],'Qtable',zeros(1,2*maxThrottle*(maxThrottle+1)+1),'best',[],'state',[aRow;aCol;0;0;0],'maxThrottle',maxThrottle);

% Q-learning
%while isempty(robot.best)
robot=Qlearning(robot,task,chart,5000);
%end

thrustRow = robot.best(1,:);
thrustCol = robot.best(2,:);

end

by William Song
2010-11-17 02:52:27 UTC deadmau5 FOR THE WIN
by Cameron Nowzari
this is supposed to be better than unhooked....
by Cameron Nowzari
2010-11-17 01:03:56 UTC blowing by the wind
by Alex P.
last
by Alex P.
2010-11-16 23:59:39 UTC Freundschaft ist, wenn dich einer für gutes Schwimmen lobt, nachdem du beim Segeln gekentert bist.
by Alex P.
Entry: last-4
by Alex P.
2010-11-16 23:59:03 UTC Segelflieger
by Alex P.
last -3
by Alex P.
2010-11-16 23:58:42 UTC Segelflieger
by Alex P.
last -2
by Alex P.
2010-11-16 21:39:03 UTC + delta X
by Victoria
Next step
by Victoria
2010-11-16 20:37:08 UTC Artful sailor
by Victoria
One more version
by Victoria