Skip to content

A declarative spatial reasoning system based on Answer Set Programming for querying, analysing, and checking large-scale Building Information Models

License

Notifications You must be signed in to change notification settings

libeidihuhuhu/ASP4BIM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ASP4BIM

A declarative spatial reasoning system based on Answer Set Programming for querying, analysing, and checking large-scale Building Information Models

Background

ASP4BIM is a logic-based reasoning framework specifically designed for implicit, incomplete human spatial knowledge and numerous, complex real-world spatial data

ASP4BIM can be viewed as a melting pot for

  • natural language statements describing a person's experiences and behaviour in the built environment that are often ambiguous and vague by nature
  • a building model with semantic and geometric information that are posssibly inaccurate and imprecise
  • domain-specific rules and constraints about human-centric design concepts such as privacy, accessibility, safety, navigability, audibility, etc.

Dependencies

ASP4BIM is implemented via clingo's Python API (https://potassco.org/clingo/python-api/5.4/) and uses state-of-the-art geometry libraries for spatial computations

  1. Install clingo via conda
conda install -c potassco clingo

We use clingo version 5.4.0 with Python 3.7.4

  1. We use Clipper to compute Boolean operations on polygons
    Install the Python wrapper via pip
pip install pyclipper

Alternatively, one can use PyMesh for polyhedrons

Example queries

Acknowledgements

ASP4BIM is currently being developed within the scope of my PhD project Intelligent Software, Healing Environment at the Cyber-Physical Systems group, Aarhus University, Denmark. ASP4BIM is largely based on prototype systems CLP(QS) and ASPMT(QS), and draws from many theoretical and practical contributions of the modern ASP system clingo.

The data used in the source codes, courtesy of Assoc.Prof. Jochen Teizer, Dr. Olga Golovina, and Asst.Prof. Aliakbar Kamari, are for demonstration purposes only and strictly proprietary. I am also extremely grateful to my supervisors Asst.Prof. Carl Schultz and Prof. Peter Gorm Larsen for their guidance, and the Independent Research Fund Denmark (DFF) for their financial support.

Please kindly refer to the following research papers for an overview of Declarative Spatial Reasoning, Answer Set Programming, and Building Information Modelling

About

A declarative spatial reasoning system based on Answer Set Programming for querying, analysing, and checking large-scale Building Information Models

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages