code: public VarConfig getGoldConfigPred(int factorId) {
          VarSet vars = fgLatPred.getFactor(factorId).getVars();
          return goldConfig.getIntersection(VarSet.getVarsOfType(vars, VarType.PREDICTED));
      }
docs: Gets the gold configuration of the predicted variables ONLY for the given factor.