@Override
  public DynamicFactorGraph getModelFromParameters(SufficientStatistics parameters) {
    List<SufficientStatistics> parameterList = parameters.coerceToList().getStatistics();
    Preconditions.checkArgument(parameterList.size() == parametricFactors.size());
    List<PlateFactor> plateFactors = Lists.newArrayList();
    for (int i = 0; i < parameterList.size(); i++) {
      plateFactors.add(new ReplicatedFactor(
          parametricFactors.get(i).getModelFromParameters(parameterList.get(i)),
          factorPatterns.get(i)));
    }
    return baseFactorGraph.addPlateFactors(plateFactors, factorNames.items());
  }
@ Override public DynamicFactorGraph getModelFromParameters ( SufficientStatistics parameters ) { List < SufficientStatistics > parameterList = parameters . coerceToList ( ) . getStatistics ( ) ; Preconditions . checkArgument ( parameterList . size ( ) == parametricFactors . size ( ) ) ; List < PlateFactor > plateFactors = Lists . newArrayList ( ) ; for ( int i = 0 ; i < parameterList . size ( ) ; i ++ ) { plateFactors . add ( new ReplicatedFactor ( parametricFactors . get ( i ) . getModelFromParameters ( parameterList . get ( i ) ) , factorPatterns . get ( i ) ) ) ; } return baseFactorGraph . addPlateFactors ( plateFactors , factorNames . items ( ) ) ; }
Gets a {@code DynamicFactorGraph} which is the member of this
family indexed by {@code parameters}. Note that multiple values
of {@code parameters} may result in the same {@code FactorGraph}.

@param parameters
@return