Class Factor

java.lang.Object
org.gsusers.gsmv.utilities.Factor

public class Factor extends Object
This class encapsulates design factors - factors within a configuration. It calculates the absolute size of this factor, and the indices dependent count for this factor. That makes it easy to calculate size and count for the configuration. A 'factor' encapsulates the structure and properties of individual or nested facet combinations forming factors' in crossed designs.
  • Constructor Details

    • Factor

      public Factor(SampleSizeTree _tree, String _sFactor)
      Constructor
      Parameters:
      _tree - pointer to SampleSizeTree
      _sFactor - description of actual 'Factor' content
  • Method Details

    • getSize

      public int getSize()
      Getter of factor size, i.e. the maximal number of states, this factor can assuem.
      Returns:
      int maximal number of states
    • getCount

      public int getCount()
      Current count of states in the factor, as function of the relevant facet indices.
      Returns:
      int number of states