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.3.tar.gz (29.6 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.3-py3-none-any.whl (30.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: faged_pipeline-0.1.3.tar.gz
  • Upload date:
  • Size: 29.6 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.3.tar.gz
Algorithm Hash digest
SHA256 26918d030875c044c4b91bd4ac7c34fc01502a123a71aba9f8d31c63563ec7a4
MD5 d101b4820af241fc45b81c0a088f2993
BLAKE2b-256 ca25f7447e094a7cec3cfe5009fbd9dd5bae136710c39f9fbd2418f8f5199b42

See more details on using hashes here.

File details

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

File metadata

  • Download URL: faged_pipeline-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 df0ae24ed23be0e7fdfa8c909d416e23bcee646b56f47c8f3940b01c8be205fd
MD5 62cf862787799b2b7a0a562e7acb7c11
BLAKE2b-256 a544d349370ad50c72b994acc9b858111f241b5136e6f1313aefcbb61a791d55

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