Skip to content

Instantly share code, notes, and snippets.

View oatsandsugar's full-sized avatar

Johanan Ottensooser oatsandsugar

  • Fiveonefour
  • Portland, OR
  • 20:36 (UTC -07:00)
View GitHub Profile
@oatsandsugar
oatsandsugar / Test 19: Structure by deduction |[BOSS LEVEL]|.scala
Created July 1, 2017 21:41
Example ADG for "Tables and objects and graphs, oh my!"
// Test 19: Structure by deduction |[BOSS LEVEL]| no row or column is complete
val BOSSA1: AbstractDataGraph = {
val nodes = Map(
0 -> DataNode(0, 0, None, None),
1 -> DataNode(1, 0, Some("A"), Some(AbstractLong(1))),
2 -> DataNode(2, 1, None, Some(AbstractLong(2))),
3 -> DataNode(3, 2, None, None),
4 -> DataNode(4, 3, Some("C"), None),
5 -> DataNode(5, 4, Some("D"), None)

Keybase proof

I hereby claim:

  • I am oatsandsugar on github.
  • I am oatsandsugar (https://keybase.io/oatsandsugar) on keybase.
  • I have a public key whose fingerprint is 2DE1 AD0C A8EB CCAA 4DDF 5296 681B DCAC 5475 A14F

To claim this, I am signing this object: