Interface ProvidesKnowledge

All Known Implementing Classes:
DesignedExperimentSimulation, ObservationalStudySimulation

public interface ProvidesKnowledge
A simulation whose design implies background knowledge that an analyst of the resulting data would legitimately have - typically tiers given by the roles of the variables (design factors before derived quantities before responses; context before system before indices before outcomes) - and that can supply it for each emitted data model. This is knowledge about the study design, not about the true graph: it never encodes the random structure drawn within a role. Attaching a knowledge box to a simulation implementing this interface populates the box with this knowledge.

Distinct from AcceptsKnowledge, which is for simulations that take knowledge as an input.

Author:
josephramsey
  • Method Summary

    Modifier and Type
    Method
    Description
    getKnowledge(int index)
    Returns the design-implied knowledge for the given data model, over that data model's variables.
  • Method Details

    • getKnowledge

      Knowledge getKnowledge(int index)
      Returns the design-implied knowledge for the given data model, over that data model's variables. A fresh object each call; callers may modify it.
      Parameters:
      index - the data model index.
      Returns:
      the knowledge.