GithubHelp home page GithubHelp logo

genji-graph's Introduction

genji-graph

「頭中将にとっての先帝は、頭中将 の 配偶者 である夕顔 の 配偶者 である光源氏 の 配偶者 である藤壺中宮 の 親」のように源氏物語の血縁関係を表示させるプログラム

血縁関係の経路を全探索

直接の血縁関係をリストアップ

  • 開発時期、期間:2018年 2週間

  • 人数・役割:個人開発

  • 目的
    Python入門の授業の最終課題として。授業でグラフのデータ構造について学んだので、それを活かせるものとして、複雑な家系図が特徴的な、源氏物語の家系図を扱うことにした。

  • 苦労した点
    授業で習った一般的な有向グラフとは異なり、ある人iから別の人jへの関係性(親、子、婚姻関係)のタグ付をする必要があった。重みつきグラフの考え方を応用して、関係によって0,1,2の番号をエッジに付加することで、関係性のトラッキングを実装した。

  • 使用した技術

    • Python
      構造体を利用してグラフのデータ構造を実装した

genji-graph's People

Contributors

maosasa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.