Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Static Public Member Functions | Properties | List of all members
RUI.Algorithms.SCCFlowGraphUCFinder Class Reference

Unconnected component finder More...

Classes

class  GraphSet
 

Public Member Functions

HashSet< PartGetUnreachableFuelDeliveries (int resourceId)
 A bit "naive" implementation to find fuel providers which are not delivering fuel to anything through the flow network More...
 
HashSet< PartGetUnreachableFuelRequests (int resourceId)
 A bit "naive" implementation to find fuel consumers which are not receiving fuel through the flow network More...
 
 SCCFlowGraphUCFinder (List< Part > ship)
 
 SCCFlowGraphUCFinder (SCCFlowGraph graph)
 

Static Public Member Functions

static bool IsEntryPoint (Part part)
 
static bool IsEntryPointDelivery (Part part)
 
static bool IsEntryPointRequest (Part part)
 

Properties

GraphSet delivery [get, set]
 
GraphSet request [get, set]
 
SCCFlowGraph sccFlowGraph [get, set]
 

Detailed Description

Unconnected component finder

Constructor & Destructor Documentation

RUI.Algorithms.SCCFlowGraphUCFinder.SCCFlowGraphUCFinder ( List< Part ship)
inline
RUI.Algorithms.SCCFlowGraphUCFinder.SCCFlowGraphUCFinder ( SCCFlowGraph  graph)
inline

Member Function Documentation

HashSet<Part> RUI.Algorithms.SCCFlowGraphUCFinder.GetUnreachableFuelDeliveries ( int  resourceId)
inline

A bit "naive" implementation to find fuel providers which are not delivering fuel to anything through the flow network

Parameters
resourceIdThe resource id of the fuel providers you want to check.
Returns
HashSet<Part> RUI.Algorithms.SCCFlowGraphUCFinder.GetUnreachableFuelRequests ( int  resourceId)
inline

A bit "naive" implementation to find fuel consumers which are not receiving fuel through the flow network

Parameters
resourceIdThe resource id of the fuel consumers you want to check.
Returns
static bool RUI.Algorithms.SCCFlowGraphUCFinder.IsEntryPoint ( Part  part)
inlinestatic
static bool RUI.Algorithms.SCCFlowGraphUCFinder.IsEntryPointDelivery ( Part  part)
inlinestatic
static bool RUI.Algorithms.SCCFlowGraphUCFinder.IsEntryPointRequest ( Part  part)
inlinestatic

Property Documentation

GraphSet RUI.Algorithms.SCCFlowGraphUCFinder.delivery
getset
GraphSet RUI.Algorithms.SCCFlowGraphUCFinder.request
getset
SCCFlowGraph RUI.Algorithms.SCCFlowGraphUCFinder.sccFlowGraph
getset

The documentation for this class was generated from the following file: