code: public void addConstantFactor(String factorName, PlateFactor factor) {
      constantFactors.add(factor);
      constantFactorNames.add(factorName);
    }
docs: Adds an unparameterized, dynamically-instantiated factor to the
  model under construction.
  
  @param factor