Lines Matching full:matrix
371 const MatchMatrix& matrix, MatchResultListener* listener) const { in VerifyMatchMatrix() argument
372 if (matrix.LhsSize() == 0 && matrix.RhsSize() == 0) { in VerifyMatchMatrix()
378 matrix.LhsSize() != matrix.RhsSize(); in VerifyMatchMatrix()
384 if (matrix.LhsSize() != 0 && listener->IsInterested()) { in VerifyMatchMatrix()
385 *listener << "which has " << Elements(matrix.LhsSize()) << "\n"; in VerifyMatchMatrix()
390 ::std::vector<char> element_matched(matrix.LhsSize(), 0); in VerifyMatchMatrix()
391 ::std::vector<char> matcher_matched(matrix.RhsSize(), 0); in VerifyMatchMatrix()
393 for (size_t ilhs = 0; ilhs < matrix.LhsSize(); ilhs++) { in VerifyMatchMatrix()
394 for (size_t irhs = 0; irhs < matrix.RhsSize(); irhs++) { in VerifyMatchMatrix()
395 char matched = matrix.HasEdge(ilhs, irhs); in VerifyMatchMatrix()
437 const MatchMatrix& matrix, MatchResultListener* listener) const { in FindPairing() argument
438 ElementMatcherPairs matches = FindMaxBipartiteMatching(matrix); in FindPairing()
442 max_flow < matrix.RhsSize()) { in FindPairing()
446 << max_flow << " of " << matrix.RhsSize() in FindPairing()
453 max_flow < matrix.LhsSize()) { in FindPairing()
457 << max_flow << " of " << matrix.RhsSize() in FindPairing()