Logo
  • Overview
    • Motivation
    • Core Capabilities
    • Project Structure
    • Get Started
  • Installation
    • Environment
      • Python Version
    • Install
      • Install from TestPyPI
      • Required Packages
      • Test Installation
  • Tutorial
    • Example
      • Import
      • Data
      • Seeds
      • Instantiate Model
      • Execute simulation
    • Example code 1: SIRModel
    • Example code 2: DySIRModel
    • About Batch
      • How to use batch
    • About Distributed
      • How to use distributed computing
    • References
  • Library
    • Epidemic Models
      • Base Class & Common API
        • Utility Methods
        • Simulation Interface
      • Available Models
        • SI
          • Implementation
          • Status
          • SIModel
          • References
        • SIS
          • Implementation
          • Status
          • SISModel
          • References
        • SIR
          • Implementation
          • Status
          • SIRModel
          • References
        • SEIR
          • Implementation
          • Status
          • SEIRModel
          • References
        • SEIR_ct
          • Implementation
          • Status
          • SEIRctModel
          • References
        • SEIS
          • Implementation
          • Status
          • SEISModel
          • References
        • SEIS_ct
          • Implementation
          • Status
          • SEISctModel
          • References
        • Threshold
          • Model Description
          • Status
          • ThresholdModel
          • References
        • Kertesz Threshold
          • Model Description
          • Status
          • KerteszThresholdModel
          • References
        • Independent Cascades
          • Implementation
          • Status
          • IndependentCascadesModel
          • References
        • Profile
          • Model Description
          • Status
          • ProfileModel
          • References
        • Profile Threshold
          • Model Description
          • Status
          • ProfileThresholdModel
          • References
    • Opinion Dynamic Models
      • Base Class & Common API
        • Utility Methods
        • Simulation Interface
      • Available Models
        • Voter
          • Implementation
          • Status
          • VoterModel
          • References
        • Q-Voter
          • Implementation
          • Status
          • QVoterModel
          • References
        • Majority Rule
          • Implementation
          • Status
          • MajorityRuleModel
          • Parameters
          • References
        • Sznajd
          • Implementation
          • Status
          • SznajdModel
          • References
        • Hegselmann-Krause
          • Implementation
          • Status
          • HKModel
          • References
        • Weighted Hegselmann-Krause
          • Implementation
          • Status
          • WHKModel
          • Parameters
          • References
    • Dynamic Network Models
      • Base Class & Common API
        • Utility Methods
        • Simulation Interface
      • Available Models
        • DySI
          • Implementation
          • Status
          • DySIModel
        • DySIS
          • Implementation
          • Status
          • DySISModel
        • DySIR
          • Implementation
          • Status
          • DySIRModel
        • DySEIR
          • Implementation
          • Status
          • DySEIRModel
        • DySEIR_ct
          • Implementation
          • Status
          • DySEIRctModel
        • DySEIS
          • Implementation
          • Status
          • DySEISModel
        • DySEIS_ct
          • Implementation
          • Status
          • DySEISctModel
        • DyThreshold
          • Implementation
          • Status
          • DyThresholdModel
        • DyKThreshold
          • Implementation
          • Status
          • DyKerteszThresholdModel
  • Advanced
    • Ultra-Large Graph Propagation
      • What the Library Provides
      • Why Partition by Target Nodes?
      • Partitioning Strategy
      • Data Layout After Partitioning
      • Recommended Workflow
    • Distributed Partitioning API
      • GraphPartitioner
        • GraphPartitioner
          • GraphPartitioner.generate_partition()
      • Usage Notes
      • Loading Saved Partitions
        • load_partition()
    • How to Connect a Partition to a Model
    • Practical Limitations
    • When to Use This Interface
  • Custom Model
    • Which Base File Should You Start From?
    • Two Layers of a Custom Model
      • DiffusionModel: simulation lifecycle and public API
      • Diffusion_process: propagation rule and tensor update
    • Minimal Development Checklist
    • Example 1: SI with Randomly Blocked Susceptible Nodes
      • Implementation
      • Usage
    • Example 2: Friedkin-Johnsen Opinion Model
      • Implementation
      • Usage
    • Batch-Parallel and Distributed Use
    • Practical Suggestions
  • Influence Maximization
    • Overview
    • Base Class & Common API
      • Common Workflow
    • Quick Example
    • Algorithms
      • Greedy
        • Available Algorithms
          • GreedyIM
          • GreedyIMWithCaching
        • Advanced Interface
      • CELF
        • Available Algorithms
          • CELFIM
          • CELFPlusPlus
        • Advanced Interface
FS_GPlib-tutorial
  • Search


© Copyright 2026, Allen Guo.

Built with Sphinx using a theme provided by Read the Docs.