Ophidian
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
src
placement
legalization
legalization.h
1
/*
2
* Copyright 2016 Ophidian
3
Licensed to the Apache Software Foundation (ASF) under one
4
or more contributor license agreements. See the NOTICE file
5
distributed with this work for additional information
6
regarding copyright ownership. The ASF licenses this file
7
to you under the Apache License, Version 2.0 (the
8
"License"); you may not use this file except in compliance
9
with the License. You may obtain a copy of the License at
10
11
http://www.apache.org/licenses/LICENSE-2.0
12
13
Unless required by applicable law or agreed to in writing,
14
software distributed under the License is distributed on an
15
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
KIND, either express or implied. See the License for the
17
specific language governing permissions and limitations
18
under the License.
19
*/
20
21
#ifndef OPHIDIAN_LEGALIZATION_H
22
#define OPHIDIAN_LEGALIZATION_H
23
24
#include "floorplan.h"
25
#include "placement.h"
26
#include "subrows.h"
27
#include <entity_system.h>
28
29
namespace
ophidian {
30
namespace
placement {
31
namespace
legalization {
32
class
legalization
{
33
protected
:
34
entity_system::entity_system
m_subrows_system;
35
subrows
m_subrows;
36
37
floorplan::floorplan
* m_floorplan;
38
placement
* m_placement;
39
public
:
40
41
legalization
(
floorplan::floorplan
* floorplan,
placement
*
placement
)
42
: m_subrows(m_subrows_system), m_floorplan(floorplan), m_placement(placement) {
43
create_subrows();
44
}
45
virtual
~
legalization
() {}
46
47
virtual
void
legalize_placement() = 0;
48
49
void
create_subrows();
50
};
51
}
52
}
53
}
54
55
56
57
#endif //OPHIDIAN_LEGALIZATION_H
ophidian::placement::legalization::subrows
Definition:
subrows.h:36
ophidian::placement::placement
Placement class.
Definition:
placement.h:35
ophidian::entity_system::entity_system
entity_system class.
Definition:
entity_system.h:40
ophidian::placement::legalization::legalization
Definition:
legalization.h:32
ophidian::floorplan::floorplan
Floorplan class.
Definition:
floorplan.h:37
Generated on Wed Jun 1 2016 15:54:18 for Ophidian by
1.8.6