Skip to content

Commit

Permalink
add example data and config file
Browse files Browse the repository at this point in the history
  • Loading branch information
chongyangma committed Apr 19, 2016
1 parent 9b24b3e commit 7d96e07
Show file tree
Hide file tree
Showing 30 changed files with 3,339 additions and 0 deletions.
414 changes: 414 additions & 0 deletions data/building_blocks_fig1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions data/building_blocks_fig1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" standalone="yes" ?>
<!-- room template data -->
<Templates>
<Room>
<Vertex px="0.2" py="0.2" />
<Vertex px="0.2" py="-0.2" />
<Vertex px="-0.2" py="-0.2" />
<Vertex px="-0.2" py="0.2" />
</Room>
<Room>
<Vertex px="0.1" py="0" />
<Vertex px="0.3" py="0" />
<Vertex px="0.3" py="-0.2" />
<Vertex px="-0.3" py="-0.2" />
<Vertex px="-0.3" py="0" />
<Vertex px="-0.1" py="0" />
<Vertex px="-0.1" py="0.2" />
<Vertex px="0.1" py="0.2" />
</Room>
<Room>
<Vertex px="0.2" py="0.2" />
<Vertex px="0.2" py="-0.2" />
<Vertex px="0" py="-0.2" />
<Vertex px="0" py="0" />
<Vertex px="-0.2" py="0" />
<Vertex px="-0.2" py="0.2" />
<Shift px="0.075" py="0.075" />
</Room>
<Room>
<Vertex px="0.2" py="0.2" />
<Vertex px="0.2" py="-0.2" />
<Vertex px="-0.2" py="-0.2" />
<Vertex px="-0.2" py="0" />
<Vertex px="0" py="0" />
<Vertex px="0" py="0.2" />
<Shift px="0.075" py="-0.075" />
</Room>
<Room>
<Vertex px="0.3" py="0.2" />
<Vertex px="0.3" py="-0.2" />
<Vertex px="-0.3" py="-0.2" />
<Vertex px="-0.3" py="0.2" />
</Room>
</Templates>
91 changes: 91 additions & 0 deletions data/building_blocks_fig11.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" standalone="yes" ?>
<!-- room template data -->
<Templates>
<!-- Rooms without restricted door positions -->
<Room>
<Vertex px="0.2" py="0.2"/>
<Vertex px="0.2" py="-0.2"/>
<Vertex px="-0.2" py="-0.2"/>
<Vertex px="-0.2" py="0.2"/>
</Room>
<Room>
<Vertex px="0.3" py="0.2"/>
<Vertex px="0.3" py="-0.2"/>
<Vertex px="-0.3" py="-0.2"/>
<Vertex px="-0.3" py="0.2"/>
</Room>
<Room>
<Vertex px="0.2" py="0.3"/>
<Vertex px="0.2" py="-0.3"/>
<Vertex px="-0.2" py="-0.3"/>
<Vertex px="-0.2" py="0.3"/>
</Room>
<!-- Rectangular rooms (corridors) with restricted door positions -->
<Room>
<Vertex px="0.0" py="0.0"/>
<Vertex px="0.0" py="0.1"/>
<Vertex px="0.5" py="0.1"/>
<Vertex px="0.5" py="0.0"/>
<Door edgeIndex="0"/>
<Door edgeIndex="2"/>
<Boundary type="2"/>
</Room>
<Room>
<Vertex px="0.0" py="0.0"/>
<Vertex px="0.0" py="0.5"/>
<Vertex px="0.1" py="0.5"/>
<Vertex px="0.1" py="0.0"/>
<Door edgeIndex="1"/>
<Door edgeIndex="3"/>
<Boundary type="2"/>
</Room>
<!-- L-shaped rooms (corridors) with restricted door positions -->
<Room>
<Vertex px="0.0" py="0.0"/>
<Vertex px="0.0" py="0.5"/>
<Vertex px="0.1" py="0.5"/>
<Vertex px="0.1" py="0.1"/>
<Vertex px="0.5" py="0.1"/>
<Vertex px="0.5" py="0.0"/>
<Shift px="-0.2" py="-0.2"/>
<Door edgeIndex="1"/>
<Door edgeIndex="4"/>
<Boundary type="2"/>
</Room>
<Room>
<Vertex px="0.0" py="0.0"/>
<Vertex px="0.0" py="-0.5"/>
<Vertex px="0.1" py="-0.5"/>
<Vertex px="0.1" py="-0.1"/>
<Vertex px="0.5" py="-0.1"/>
<Vertex px="0.5" py="0.0"/>
<Shift px="-0.2" py="0.2"/>
<Door edgeIndex="1"/>
<Door edgeIndex="4"/>
<Boundary type="2"/>
</Room>
<Room>
<Vertex px="0.0" py="0.0"/>
<Vertex px="0.0" py="0.5"/>
<Vertex px="-0.1" py="0.5"/>
<Vertex px="-0.1" py="0.1"/>
<Vertex px="-0.5" py="0.1"/>
<Vertex px="-0.5" py="0.0"/>
<Shift px="0.2" py="-0.2"/>
<Door edgeIndex="1"/>
<Door edgeIndex="4"/>
<Boundary type="2"/>
</Room>
<Room>
<Vertex px="0.0" py="0.0"/>
<Vertex px="0.0" py="-0.5"/>
<Vertex px="-0.1" py="-0.5"/>
<Vertex px="-0.1" py="-0.1"/>
<Vertex px="-0.5" py="-0.1"/>
<Vertex px="-0.5" py="0.0"/>
<Shift px="0.2" py="0.2"/>
<Door edgeIndex="1"/>
<Door edgeIndex="4"/>
<Boundary type="2"/>
</Room>
</Templates>
218 changes: 218 additions & 0 deletions data/building_blocks_fig6a.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions data/building_blocks_fig6a.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" standalone="yes" ?>
<!-- room template data -->
<Templates>
<!-- Short square -->
<Room>
<Vertex px="0.2" py="0.2" />
<Vertex px="0.2" py="-0.2" />
<Vertex px="-0.2" py="-0.2" />
<Vertex px="-0.2" py="0.2" />
</Room>
<!-- Rectangles -->
<Room>
<Vertex px="0.3" py="0.2" />
<Vertex px="0.3" py="-0.2" />
<Vertex px="-0.3" py="-0.2" />
<Vertex px="-0.3" py="0.2" />
</Room>
<Room>
<Vertex py="0.3" px="0.2" />
<Vertex py="0.3" px="-0.2" />
<Vertex py="-0.3" px="-0.2" />
<Vertex py="-0.3" px="0.2" />
</Room>
</Templates>
Loading

0 comments on commit 7d96e07

Please sign in to comment.