Alex Komoroske
jkomoros

Organizations

@google @webplatform
Jul 13, 2016
@jkomoros
  • @jkomoros 2d6d9b5
    Implemented gridImpl.Empty() and gridImpl.rank()
Jul 13, 2016
@jkomoros
Jul 13, 2016
Jul 13, 2016
@jkomoros
Crazy idea: what if every CellSlice method on Grid returned a slice of cellrefs?
Jul 13, 2016
@jkomoros
  • @jkomoros 31f04bd
    Struct definition for gridImpl (no methods yet).
Jul 13, 2016
@jkomoros
  • @jkomoros c09dd84
    Rename gridImpl to mutableGridImpl in preparation for creating gridImpl.
Jul 12, 2016
Jul 12, 2016
@jkomoros
Jul 12, 2016
@jkomoros
Jul 11, 2016
Jul 11, 2016
@jkomoros
Jul 11, 2016
@jkomoros
  • @jkomoros 7c40d90
    Define and test readOnlyCellQueue and readOnlyCellQueueGetter, both o…
  • @jkomoros 538fdbb
    Defined queue and queueGetter interface, and changed Grid's interface…
  • 2 more commits »
Jul 11, 2016
@jkomoros
Jul 9, 2016
@jkomoros
  • @jkomoros 477492a
    Implemented and tested SolveStep.modifications(). (Also implemented G…
Jul 8, 2016
@jkomoros
Jul 8, 2016
@jkomoros
  • @jkomoros 003aebd
    Rip out grid.Done() and associated machinery. With Mutable and Immuta…
Jul 8, 2016
@jkomoros
Jul 8, 2016
@jkomoros
  • @jkomoros 553b8ef
    Remove MutableCellSlice.AddExclude, which is the only CellSlice item …
  • @jkomoros de9c40d
    Made cell.Mutable private, to make sure that no one uses it without b…
  • 2 more commits »
Jul 8, 2016
@jkomoros
Jul 8, 2016
@jkomoros
  • @jkomoros 79fbcf0
    Update comments on MutableCell and Cell to point to one another and b…
Jul 8, 2016
@jkomoros
  • @jkomoros 1dc3d59
    Defined MutableCellSlice and its various required methods. Not used a…
Jul 8, 2016
jkomoros commented on issue jkomoros/sudoku#143
@jkomoros

Make sure i-sudoku, dokugen, etc build

Jul 8, 2016
@jkomoros
  • @jkomoros 6bb192a
    Added a note on Cell.Mutable() cautioning away from using it.
Jul 8, 2016
@jkomoros
  • @jkomoros 705b0bb
    Switched all .InGrid().Mutable() -> .MutableInGrid(), which is safer …
  • @jkomoros 353c2a6
    Switch to grid.MutableCell() (from grid.Cell(a,b).Mutable()) wherever…
  • 1 more commit »
Jul 8, 2016
jkomoros commented on issue jkomoros/sudoku#143
@jkomoros

Maybe it's just better to have MutableCellSlice and CellSlice. All we have to do is pop everything out into an interface and then have one underlyi…

Jul 8, 2016
jkomoros commented on issue jkomoros/sudoku#143
@jkomoros

MutableGrid should grow a MutableCell(row,col int) method. Anything that returns a CellSlice will have to be casted up to a MutableCell, which is a…

Jul 8, 2016
@jkomoros
  • @jkomoros 607f483
    Whoops, fixed tests that were inadvertently failing.
Jul 8, 2016
Jul 8, 2016
jkomoros commented on issue jkomoros/sudoku#143
@jkomoros

So if you have Cell interface with all of the read only methods, and MutableCell, which embeds Cell and also adds all of the mutating methods. Cell…

Jul 8, 2016
jkomoros commented on issue jkomoros/sudoku#143
@jkomoros

CellSlice.AddExclude is the only current thing on CellSlice that would require CellSlices to ever be mutable. But in many cases, the CellSlice you …