1 //===-- Solver.h ------- PBQP solver interface -----------------*- C++ --*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 #ifndef LLVM_CODEGEN_PBQP_SOLVER_H
12 #define LLVM_CODEGEN_PBQP_SOLVER_H
14 #include "SimpleGraph.h"
19 /// \brief Interface for solver classes.
23 virtual ~Solver() = 0;
24 virtual Solution
solve(const SimpleGraph
&orig
) const = 0;
31 #endif // LLVM_CODEGEN_PBQP_SOLVER_H