Documentation
¶
Index ¶
- func CalculateGearRatio(engine *Engine) uint
- type Cell
- type CellKind
- type Engine
- func (e *Engine) AddLine(line string)
- func (e *Engine) AdjacentToSymbol(num *Number) bool
- func (e *Engine) GetCell(row, col int) *Cell
- func (e *Engine) NumberAt(row, col int) *uint
- func (e *Engine) Numbers() ([]*Number, error)
- func (e *Engine) PossibleGears() []*Cell
- func (e *Engine) RowLen(row int) int
- func (e *Engine) SchemaLen() int
- type Gear
- type Number
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateGearRatio ¶
Types ¶
type Cell ¶
type Cell struct {
// contains filtered or unexported fields
}
func (*Cell) IsPossibleGear ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) AdjacentToSymbol ¶
func (*Engine) PossibleGears ¶
Click to show internal directories.
Click to hide internal directories.