src/main/java/pt/it/av/tnav/ml/tm/dp/DPWC.java
public static DPWC DPW2DPWC(final DPW dpw) {
    List<DPWC.Category> categories = new ArrayList<>();
    categories.add(new DPWC.Category(dpw.dimentions(), 1.0));
    return new DPWC(dpw.term(), categories);
  }
/**
   * Returns a {@link DPWC} with a single category from a {@link DPW}. In other
   * words, converts a {@link DPW} into a {@link DPWC}.
   *
   * @param dpw
   * @param <P>
   * @return Returns a {@link DPWC} with a single category from a {@link DPW}.
   */
Returns a  DPWC with a single category from a  DPW. In other
words, converts a  DPW into a  DPWC.

@param dpw
@param 
@return Returns a  DPWC with a single category from a  DPW.
Returns a DPWC with a single category from a DPW . In other words converts a DPW into a DPWC . @param dpw @param @return Returns a DPWC with a single category from a DPW .
public static DPWC DPW2DPWC(final DPW dpw) {
    List<DPWC.Category> categories = new ArrayList<>();
    categories.add(new DPWC.Category(dpw.dimentions(), 1.0));
    return new DPWC(dpw.term(), categories);
  }
public static DPWC DPW2DPWC ( final DPW dpw ) { List < DPWC . Category > categories = new ArrayList < > ( ) ; categories . add ( new DPWC . Category ( dpw . dimentions ( ) , 1.0 ) ) ; return new DPWC ( dpw . term ( ) , categories ) ; }
Returns a {@link DPWC} with a single category from a {@link DPW}.
Returns a { @link DPWC } with a single category from a { @link DPW } .