cmpsci220.hw

measurement

package measurement

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. measurement
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AVL extends AnyRef

  2. sealed trait BST extends AnyRef

  3. sealed case class LinearRegressionResult(slope: Double, intercept: Double, rSquared: Double) extends Product with Serializable

  4. trait MeasurementFunctions extends AnyRef

  5. sealed trait OrdList extends AnyRef

Value Members

  1. val emptyAVL: AVL

  2. val emptyBST: BST

  3. val emptyOrdList: OrdList

  4. def insertAVL(value: Int, avl: AVL): AVL

  5. def insertBST(value: Int, bst: BST): BST

  6. def insertOrdList(value: Int, lst: OrdList): OrdList

  7. def isMemberAVL(value: Int, avl: AVL): Boolean

  8. def isMemberBST(value: Int, bst: BST): Boolean

  9. def isMemberOrdList(value: Int, lst: OrdList): Boolean

  10. def linearRegression(points: List[(Double, Double)]): LinearRegressionResult

    Given a list of pairs that represent (x, y) coordinates, tries to fit the points to a line.

Inherited from AnyRef

Inherited from Any

Ungrouped