AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
transition.h
1
#ifndef CEGAR_TRANSITION_H
2
#define CEGAR_TRANSITION_H
3
4
#include <iostream>
5
6
namespace
cartesian_abstractions {
7
struct
Transition {
8
int
op_id;
9
int
target_id;
10
11
Transition(
int
op_id,
int
target_id)
12
: op_id(op_id)
13
, target_id(target_id)
14
{
15
}
16
17
bool
operator==(
const
Transition& other)
const
18
{
19
return
op_id == other.op_id && target_id == other.target_id;
20
}
21
22
friend
std::ostream& operator<<(std::ostream& os,
const
Transition& t)
23
{
24
return
os <<
"["
<< t.op_id <<
","
<< t.target_id <<
"]"
;
25
}
26
};
27
}
// namespace cartesian_abstractions
28
29
#endif
downward
cartesian_abstractions
transition.h
Generated on Tue Jan 7 2025 for AI 24/25 Project Software by
1.12.0