Skip to content
Critical cell finding algorithm using functional programming.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
project
src
.gitignore
.travis.yml
LICENSE
README.md
build.sbt
sbt

README.md

critical_cell

Build Status

Critical cell finding algorithm using functional programming in Scala.

  • Execute ./sbt test to execute the tests.
  • Is this code open source? Yes! You may use this code under the terms of the Apache 2.0 license.

Example

import criticalcell.TableExtraction._
val existingData: Table = ... // unordered sequence of Cell instances
                              // Simpliest possible table: Seq.empty[Cell]
val table = existingData ++ Seq(
  Str("a Cell at row 1, col 0 that has string content", 1, 0),
  Dbl(1.0, 0, 1),
  Empty.zero
)
findCritical(table) match {
  case Some(c) => 
    println(s"Found critical cell in table: $c")
  case None =>
    println("No critical cell found in table.")
}
You can’t perform that action at this time.