Пример #1
0
 private void fillMatrix()
 {
     PairWiseAlign processor = new PairWiseAlign();
     for (int x = 0; x < NUMBER_OF_SEQUENCES; ++x)
     {
         for (int y = 0; y < NUMBER_OF_SEQUENCES; ++y)
         {
             m_resultTable.SetCell(x, y, processor.Align(m_sequences[x], m_sequences[y], m_resultTable, x, y));
         }
     }
 }
Пример #2
0
 private void fillMatrix()
 {
     processor = new PairWiseAlign();
     for (int x = 0; x < NUMBER_OF_SEQUENCES; ++x)
     {
         for (int y = 0; y < NUMBER_OF_SEQUENCES; ++y)
         {
             m_resultTable.SetCell(x, y, processor.Align(m_sequences[x], m_sequences[y], m_resultTable, x, y));
         }
     }
 }
Пример #3
0
 private void fillMatrix()
 {
     PairWiseAlign processor = new PairWiseAlign();
     for (int y = 0; y < m_sequences.Length; ++y)
     {
         for (int x = 0; x < m_sequences.Length; ++x)
         {
             m_resultTable.SetCell(x, y, processor.Align(m_sequences[x], m_sequences[y],m_resultTable,x,y));
             //m_resultTable.SetCell(x, y, ("(" + x + ", " + y + ")"));
         }
     }
 }
        private void fillMatrix()
        {
            PairWiseAlign processor = new PairWiseAlign();

            for (int y = 0; y < m_sequences.Length; ++y)
            {
                for (int x = 0; x < m_sequences.Length; ++x)
                {
                    m_resultTable.SetCell(x, y, processor.Align(m_sequences[x], m_sequences[y], m_resultTable, x, y));
                    //m_resultTable.SetCell(x, y, ("(" + x + ", " + y + ")"));
                }
            }
        }
Пример #5
0
 private void fillMatrix()
 {
     for (int y = 0; y < m_sequences.Length; ++y)
     {
         for (int x = 0; x < m_sequences.Length; ++x)
         {
             if (x == y)
             {
                 m_resultTable.SetCell(x, y, "same");
             }
             else if (x < y)
             {
                 m_resultTable.SetCell(x, y, (int)m_resultTable.GetCell(y, x));
             }
             else
             {
                 m_resultTable.SetCell(x, y, processor.Align(m_sequences[x], m_sequences[y]));
             }
             //m_resultTable.SetCell(x, y, ("(" + x + ", " + y + ")"));
         }
     }
 }