mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-09 10:05:41 +00:00
421c0733fd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92830 91177308-0d34-0410-b5e6-96231b3b80d8
32 lines
697 B
C++
32 lines
697 B
C++
//===-- Solver.h ------- PBQP solver interface ------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
#ifndef LLVM_CODEGEN_PBQP_SOLVER_H
|
|
#define LLVM_CODEGEN_PBQP_SOLVER_H
|
|
|
|
#include "SimpleGraph.h"
|
|
#include "Solution.h"
|
|
|
|
namespace PBQP {
|
|
|
|
/// \brief Interface for solver classes.
|
|
class Solver {
|
|
public:
|
|
|
|
virtual ~Solver() = 0;
|
|
virtual Solution solve(const SimpleGraph &orig) const = 0;
|
|
};
|
|
|
|
Solver::~Solver() {}
|
|
|
|
}
|
|
|
|
#endif // LLVM_CODEGEN_PBQP_SOLVER_H
|