package approximation
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- approximation
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type Approximation = Tree[OracleApproximationContent]
- case class BlackBoxDomain(domain: Oracle) extends Domain with Product with Serializable
- sealed trait Domain extends AnyRef
- type Erosion[CONTENT] = (Tree[CONTENT], Random) ⇒ Tree[CONTENT]
- type Evaluator[CONTENT] = (Vector[Zone], Random) ⇒ Vector[CONTENT]
- type FindTrueLabel[CONTENT] = (NonEmptyTree[CONTENT], Random) ⇒ Tree[CONTENT]
- type Input[CONTENT] = Option[NonEmptyTree[CONTENT]]
- type LearnBoundary[CONTENT] = (NonEmptyTree[CONTENT], Evaluator[CONTENT], Random) ⇒ NonEmptyTree[CONTENT]
- type NeutralBoundary = Vector[NeutralBoundaryElement]
- sealed trait NeutralBoundaryElement extends AnyRef
- type Oracle = (Vector[Double]) ⇒ Boolean
- case class OracleApproximation(depth: Int, box: Zone, oracle: Oracle, domain: Domain = InfiniteDomain, point: Option[Vector[Double]] = None, neutralBoundary: NeutralBoundary = NeutralBoundary.empty) extends Product with Serializable
- case class OracleApproximationContent(testPoint: Vector[Double], label: Boolean) extends Product with Serializable
- implicit class OracleApproximationDecorator extends AnyRef
- trait Sampler extends AnyRef
- case class ZoneSide(dimension: Int, touch: Touch) extends NeutralBoundaryElement with Product with Serializable
Value Members
- def approximate(o: OracleApproximation)(implicit rng: Random): Try[Tree[OracleApproximationContent]]
- def approximateNoClean(o: OracleApproximation)(implicit rng: Random): Try[Tree[OracleApproximationContent]]
- def clean(tree: Tree[OracleApproximationContent]): Tree[OracleApproximationContent]
- def contentBuilder(oracle: Oracle)(p: Vector[Double]): OracleApproximationContent
- def dilate(o: OracleApproximation, tree: Tree[OracleApproximationContent])(implicit rng: Random): Tree[OracleApproximationContent]
- def erode(o: OracleApproximation, tree: Tree[OracleApproximationContent], n: Int = 1)(implicit rng: Random): Tree[OracleApproximationContent]
- def eval(o: OracleApproximation): (Vector[Zone], Random) ⇒ Vector[OracleApproximationContent]
- def learnBoundary(o: OracleApproximation): LearnBoundary[OracleApproximationContent]
- def learnIntersection[T1, T2](t1: Tree[T1], t2: Tree[T2])(implicit label1: ContainsLabel[T1], label2: ContainsLabel[T2], rng: Random): Tree[OracleApproximationContent]
- def leavesToRefine[T](t: NonEmptyTree[T], label: (T) ⇒ Boolean, neutralBoundary: NeutralBoundary): Vector[(Leaf[T], Int)]
- def sampler(o: OracleApproximation): Sampler { ... /* 3 definitions in type refinement */ }
- def volume(tree: Tree[OracleApproximationContent]): Double
- object Domain
- object InfiniteDomain extends Domain
- object KdTreeComputation
- object NeutralBoundary
- object OracleApproximationContent extends Serializable
- object Sampler
- object evaluator
- object input