Fixed malformed -*- lines in PBQP headers.
[oota-llvm.git] / lib / CodeGen / PBQP / Solver.h
1 //===-- Solver.h ------- PBQP solver interface ------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10
11 #ifndef LLVM_CODEGEN_PBQP_SOLVER_H
12 #define LLVM_CODEGEN_PBQP_SOLVER_H
13
14 #include "SimpleGraph.h"
15 #include "Solution.h"
16
17 namespace PBQP {
18
19 /// \brief Interface for solver classes.
20 class Solver {
21 public:
22
23   virtual ~Solver() = 0;
24   virtual Solution solve(const SimpleGraph &orig) const = 0;
25 };
26
27 Solver::~Solver() {}
28
29 }
30
31 #endif // LLVM_CODEGEN_PBQP_SOLVER_H