Skip to main content

FaGED pipeline: construct graph representation for open-space public buildings, extract prototypes, and compute (n)GED/FaGED for layout-behavior retrieval.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

FaGED Pipeline

FaGED Pipeline is a research-oriented Python library for comparing spatial layouts and human behavioral patterns using function-aware graph representations.

It can also be used independently to construct graph representations of complex architectural layouts with open spaces and to extract layout prototypes from such configurations.


Key features

  • Step-wise pipeline (Step0–Step5) for reproducible experiments
  • Layout graph representation for complex open-space buildings
  • Prototype extraction via community detection (e.g., Infomap)
  • GED / nGED / FaGED computation + retrieval ranking outputs
  • Designed for architectural research workflows

Installation

pip install faged-pipeline

Minimal example (layout graph → CaG)

from faged_pipeline import run_step2_then_step3, Step3Config

run_step2_then_step3(
    json_folder="DATA_ROOT/json",
    step2_output_folder="OUTPUT_ROOT/step2_basegraphs",
    step3_output_root="OUTPUT_ROOT/step3_transform/variants",
    step3_selected_folder="OUTPUT_ROOT/step3_transform/selected",
    step3_cfg=Step3Config(),
    save_png_step2=True,
    save_selection_csv_step3=True,
)

Full pipeline example (Step0–Step5)

The complete step-by-step notebook and documentation are hosted on GitHub:

Note: PyPI does not reliably render local images (relative paths).
We keep the PyPI page concise and place full visuals/examples on GitHub.


Data availability

A small example dataset (5 samples) is included for demonstration.
The complete dataset (150 images) is not publicly released due to data usage agreements.


Citation

If you use FaGED Pipeline in academic work, please cite:

@article{Guo2025FaGED,
  title   = {Function-Aware Graph-Based Layout Retrieval for Public Buildings},
  author  = {Guo, Song and Kee, Tris and Zhuang, Weimin},
  journal = {Automation in Construction},
  year    = {2025}
}

License

MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

faged_pipeline-0.1.2.tar.gz (29.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

faged_pipeline-0.1.2-py3-none-any.whl (30.8 kB view details)

Uploaded Python 3

File details

Details for the file faged_pipeline-0.1.2.tar.gz.

File metadata

  • Download URL: faged_pipeline-0.1.2.tar.gz
  • Upload date:
  • Size: 29.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for faged_pipeline-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b5b9eca73646253dd3829534ac9117c1d83c7f1f4f8a77bbc8b85069f42f3d5b
MD5 134bae10be81a7c5ef7a8d28b7aacc12
BLAKE2b-256 c3dbcf7a00dfbca8876d1fd85427e87b214937ced0c8a16f327dda19c29fc5f3

See more details on using hashes here.

File details

Details for the file faged_pipeline-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: faged_pipeline-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 30.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for faged_pipeline-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9cc2829ba11751177976f7a63412fcab12209705e9389c6f5b11101ef2290f8e
MD5 7715e29faa6548779668d5de03539dd2
BLAKE2b-256 0503c13d2ca74c614be3db36678ab52688dd2caaf561eb086481f9eff633f0e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page