Lines Matching refs:matrix
372 const MatchMatrix& matrix, MatchResultListener* listener) const { in VerifyMatchMatrix() argument
373 if (matrix.LhsSize() == 0 && matrix.RhsSize() == 0) { in VerifyMatchMatrix()
378 if (matrix.LhsSize() != matrix.RhsSize()) { in VerifyMatchMatrix()
383 if (matrix.LhsSize() != 0 && listener->IsInterested()) { in VerifyMatchMatrix()
384 *listener << "which has " << Elements(matrix.LhsSize()); in VerifyMatchMatrix()
391 ::std::vector<char> element_matched(matrix.LhsSize(), 0); in VerifyMatchMatrix()
392 ::std::vector<char> matcher_matched(matrix.RhsSize(), 0); in VerifyMatchMatrix()
394 for (size_t ilhs = 0; ilhs < matrix.LhsSize(); ilhs++) { in VerifyMatchMatrix()
395 for (size_t irhs = 0; irhs < matrix.RhsSize(); irhs++) { in VerifyMatchMatrix()
396 char matched = matrix.HasEdge(ilhs, irhs); in VerifyMatchMatrix()
438 const MatchMatrix& matrix, MatchResultListener* listener) const { in FindPairing() argument
439 ElementMatcherPairs matches = FindMaxBipartiteMatching(matrix); in FindPairing()
443 max_flow < matrix.RhsSize()) { in FindPairing()
447 << max_flow << " of " << matrix.RhsSize() in FindPairing()
454 max_flow < matrix.LhsSize()) { in FindPairing()
458 << max_flow << " of " << matrix.RhsSize() in FindPairing()