17 lines
318 B
C++
17 lines
318 B
C++
#include "circuit.h"
|
|
|
|
std::vector<int> Circuit::local_search(const std::vector<Fault*> &faults) {
|
|
|
|
// local search vector
|
|
ls_init_circuit();
|
|
|
|
printf("local search!\n");
|
|
|
|
return std::vector<int>();
|
|
}
|
|
|
|
void Circuit::ls_init_circuit() {
|
|
for(auto pi : PIs) {
|
|
pi->value = rand() % 2;
|
|
}
|
|
} |