/** Create a CRF whose states and weights are a copy of those from another CRF. */ public CRF (CRF other) { // This assumes that "other" has non-null inputPipe and outputPipe. We'd need to add another constructor to handle this if not. this (other.getInputPipe (), other.getOutputPipe ()); copyStatesAndWeightsFrom (other); assertWeightsLength (); }
/** Create a CRF whose states and weights are a copy of those from another CRF. */ public CRF (CRF other) { // This assumes that "other" has non-null inputPipe and outputPipe. We'd need to add another constructor to handle this if not. this (other.getInputPipe (), other.getOutputPipe ()); copyStatesAndWeightsFrom (other); assertWeightsLength (); }
/** Create a CRF whose states and weights are a copy of those from another CRF. */ public CRF (CRF other) { // This assumes that "other" has non-null inputPipe and outputPipe. We'd need to add another constructor to handle this if not. this (other.getInputPipe (), other.getOutputPipe ()); copyStatesAndWeightsFrom (other); assertWeightsLength (); }