HOG2
search
Constraint.h
Go to the documentation of this file.
1
//
2
// Constraint.h
3
// HOG2 Demos
4
//
5
// Created by Nathan Sturtevant on 5/15/18.
6
// Copyright © 2018 NS Software. All rights reserved.
7
//
8
9
#ifndef Constraint_h
10
#define Constraint_h
11
12
template
<
class
state>
13
class
Constraint
{
14
public
:
15
virtual
bool
ShouldNotGenerate
(
const
state &start,
const
state &parent,
const
state ¤t,
double
gCost,
const
state &goal)
const
= 0;
16
private
:
17
};
18
19
#endif
/* Constraint_h */
Constraint
Definition:
Constraint.h:13
Constraint::ShouldNotGenerate
virtual bool ShouldNotGenerate(const state &start, const state &parent, const state ¤t, double gCost, const state &goal) const =0
Generated by
1.8.17