public Family(String father,String mother,String... children){
  mPedigree=new GenomeRelationships();
  mIsDiseased=new boolean[children.length + FIRST_CHILD_INDEX];
  mMembers=new String[children.length + FIRST_CHILD_INDEX];
  for (int i=0; i < children.length; i++) {
    mPedigree.addParentChild(father,children[i]);
    mPedigree.addParentChild(mother,children[i]);
    mChildren.add(children[i]);
    mMembers[FIRST_CHILD_INDEX + i]=children[i];
  }
  mSampleIds=new int[children.length + 2];
  for (int i=0; i < mSampleIds.length; i++) {
    mSampleIds[i]=i;
  }
  mFather=father;
  mMother=mother;
  mMembers[FATHER_INDEX]=father;
  mMembers[MOTHER_INDEX]=mother;
}

public Family ( String father , String mother , String ... children ) { mPedigree = new GenomeRelationships ( ) ; mIsDiseased = new boolean [ children . length + FIRST_CHILD_INDEX ] ; mMembers = new String [ children . length + FIRST_CHILD_INDEX ] ; for ( int i = 0 ; i < children . length ; i ++ ) { mPedigree . addParentChild ( father , children [ i ] ) ; mPedigree . addParentChild ( mother , children [ i ] ) ; mChildren . add ( children [ i ] ) ; mMembers [ FIRST_CHILD_INDEX + i ] = children [ i ] ; } mSampleIds = new int [ children . length + 2 ] ; for ( int i = 0 ; i < mSampleIds . length ; i ++ ) { mSampleIds [ i ] = i ; } mFather = father ; mMother = mother ; mMembers [ FATHER_INDEX ] = father ; mMembers [ MOTHER_INDEX ] = mother ; }
construct family without pedigree
