PrintFlatSolutions.go 301 B

1234567891011121314
  1. package export
  2. import (
  3. "fmt"
  4. "log"
  5. )
  6. // Print solutions into a human friendly format for in the console.
  7. func (export *Export) PrintFlatSolutions() {
  8. for solutionIndex, solution := range export.Controller.Solutions {
  9. log.Printf("\nSolution #%d:", solutionIndex+1)
  10. fmt.Println(solution)
  11. }
  12. }