Skip to content

Commit

Permalink
Add comment about how DummySolver.SolveV2 works
Browse files Browse the repository at this point in the history
  • Loading branch information
Minoru committed Jul 8, 2023
1 parent cfc7d78 commit b8e0cdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Icfpc2023/Solvers/DummySolver.fs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ let SolveV1(problem: Problem): Solution =
Placements = Seq.take problem.Musicians.Length grid |> Seq.toArray
}

// Puts musicians on a hexagonal grid, achieving the optimal packing:
// https://en.wikipedia.org/wiki/Circle_packing
let SolveV2(problem: Problem): Solution =
let vacantRadius = 10.0
let xStep = vacantRadius
Expand Down

0 comments on commit b8e0cdd

Please sign in to comment.