kodama-cpp
Standalone float32 KODAMA kernels for CPU, CUDA, and Apple Metal
Loading...
Searching...
No Matches
kodama.hpp File Reference
#include "kodama/version.hpp"
#include <cstddef>
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
Include dependency graph for kodama.hpp:

Go to the source code of this file.

Classes

struct  kodama::EvolutionPolicy
 
struct  kodama::MatrixView
 
struct  kodama::FoldOptions
 
struct  kodama::KNNOptions
 
struct  kodama::PLSOptions
 
struct  kodama::CorePLSLDAOptions
 
struct  kodama::FoldResult
 
struct  kodama::ConfusionMatrix
 
struct  kodama::KNNParametersUsed
 
struct  kodama::KNNCVResult
 
struct  kodama::PLSParametersUsed
 
struct  kodama::PLSCVResult
 
struct  kodama::CoreOptions
 
struct  kodama::CoreResult
 
struct  kodama::NeighborGraph
 
struct  kodama::ResidentIVFSearchStats
 
class  kodama::ResidentIVFIndex
 
struct  kodama::GraphClusterOptions
 
struct  kodama::GraphClusterResult
 
struct  kodama::VisualizationInitOptions
 
struct  kodama::VisualizationInitResult
 
struct  kodama::KODAMAStageTiming
 
struct  kodama::KODAMAGraphOptions
 
class  kodama::KODAMAGraphHandle
 
struct  kodama::KODAMAGraphResult
 
struct  kodama::KODAMAMatrixOptions
 
struct  kodama::CoreCycleDiagnostic
 
struct  kodama::CoreRunDiagnostic
 
struct  kodama::KODAMAMatrixResult
 
struct  kodama::UMAPOptions
 
struct  kodama::OpenTSNEOptions
 
struct  kodama::EmbeddingResult
 
struct  kodama::PCAOptions
 
struct  kodama::PCAResult
 
struct  kodama::PLSFitResult
 
struct  kodama::NormalizationOptions
 
struct  kodama::NormalizationResult
 
struct  kodama::ScalingOptions
 
struct  kodama::ScalingResult
 
struct  kodama::PassingMessageOptions
 
struct  kodama::PassingMessageResult
 
struct  kodama::SpatialFeatureOptions
 
struct  kodama::SpatialFeatureResult
 

Namespaces

namespace  kodama
 
namespace  kodama::detail
 

Enumerations

enum class  kodama::Backend { kodama::Auto , kodama::CPU , kodama::CUDA , kodama::Metal }
 
enum class  kodama::DistanceMetric { kodama::Cosine , kodama::InnerProduct , kodama::Euclidean }
 
enum class  kodama::KNNIndexType {
  kodama::PrecomputedGraph , kodama::NativeHNSW , kodama::CudaExact , kodama::CudaIVFFlat ,
  kodama::MetalExact , kodama::MetalIVFFlat
}
 
enum class  kodama::PLSMode { kodama::PLS_DA , kodama::PLS_LDA }
 
enum class  kodama::CoreClassifier { kodama::PLS_LDA , kodama::KNN }
 
enum class  kodama::GraphWeightType { kodama::SNN , kodama::Distance , kodama::Adaptive , kodama::Binary }
 
enum class  kodama::GraphFeatureMode { kodama::LaplacianSelfTuning }
 
enum class  kodama::SpatialCoordinateMode { kodama::Standard , kodama::Population }
 
enum class  kodama::UMAPGraphMode { kodama::Binary , kodama::Fuzzy }
 
enum class  kodama::MatrixValueType { kodama::Float64 , kodama::Float32 }
 
enum class  kodama::GraphIndexBase { kodama::Auto , kodama::Zero , kodama::One }
 
enum class  kodama::NormalizationMethod {
  kodama::PQN , kodama::Sum , kodama::Median , kodama::Sqrt ,
  kodama::None
}
 
enum class  kodama::ScalingMethod {
  kodama::None , kodama::Centering , kodama::Autoscaling , kodama::RangeScaling ,
  kodama::ParetoScaling
}
 

Functions

KNNCVResult kodama::KNNCV (MatrixView x, const std::vector< int > &labels, const std::vector< int > &constrain, const KNNOptions &options=KNNOptions())
 
KNNCVResult kodama::KNNCV_CPU (MatrixView x, const std::vector< int > &labels, const std::vector< int > &constrain, const KNNOptions &options=KNNOptions())
 
KNNCVResult kodama::KNNCV_CUDA (MatrixView x, const std::vector< int > &labels, const std::vector< int > &constrain, const KNNOptions &options=KNNOptions())
 
KNNCVResult kodama::KNNCV_METAL (MatrixView x, const std::vector< int > &labels, const std::vector< int > &constrain, const KNNOptions &options=KNNOptions())
 
PLSCVResult kodama::PLSDACV (MatrixView x, const std::vector< int > &labels, const std::vector< int > &constrain, const PLSOptions &options=PLSOptions())
 
PLSCVResult kodama::PLSLDACV (MatrixView x, const std::vector< int > &labels, const std::vector< int > &constrain, const PLSOptions &options=PLSOptions())
 
PLSCVResult kodama::PLSDACV_CPU (MatrixView x, const std::vector< int > &labels, const std::vector< int > &constrain, const PLSOptions &options=PLSOptions())
 
PLSCVResult kodama::PLSLDACV_CPU (MatrixView x, const std::vector< int > &labels, const std::vector< int > &constrain, const PLSOptions &options=PLSOptions())
 
PLSCVResult kodama::PLSDACV_CUDA (MatrixView x, const std::vector< int > &labels, const std::vector< int > &constrain, const PLSOptions &options=PLSOptions())
 
PLSCVResult kodama::PLSLDACV_CUDA (MatrixView x, const std::vector< int > &labels, const std::vector< int > &constrain, const PLSOptions &options=PLSOptions())
 
PLSCVResult kodama::PLSLDACV_METAL (MatrixView x, const std::vector< int > &labels, const std::vector< int > &constrain, const PLSOptions &options=PLSOptions())
 
std::vector< int > kodama::PLSLDAPredict_CPU (MatrixView train, const std::vector< int > &labels, MatrixView test, const PLSOptions &options=PLSOptions())
 
std::vector< int > kodama::PLSLDAPredict_CUDA (MatrixView train, const std::vector< int > &labels, MatrixView test, const PLSOptions &options=PLSOptions())
 
std::vector< int > kodama::PLSLDAPredict_METAL (MatrixView train, const std::vector< int > &labels, MatrixView test, const PLSOptions &options=PLSOptions())
 
std::vector< int > kodama::PLSLDAPredict (MatrixView train, const std::vector< int > &labels, MatrixView test, const PLSOptions &options=PLSOptions())
 
CoreResult kodama::core_cpp (MatrixView x, const std::vector< int > &clbest, const std::vector< int > &constrain, const std::vector< int > &fixed, const CoreOptions &options=CoreOptions())
 
CoreResult kodama::CorePLSLDA (MatrixView x, const std::vector< int > &clbest, const std::vector< int > &constrain, const std::vector< int > &fixed, const CoreOptions &options=CoreOptions())
 
CoreResult kodama::CoreKNN (MatrixView x, const std::vector< int > &clbest, const std::vector< int > &constrain, const std::vector< int > &fixed, const CoreOptions &options=CoreOptions())
 
CoreResult kodama::CorePLSLDA_CPU (MatrixView x, const std::vector< int > &clbest, const std::vector< int > &constrain, const std::vector< int > &fixed, const CoreOptions &options=CoreOptions())
 
CoreResult kodama::CoreKNN_CPU (MatrixView x, const std::vector< int > &clbest, const std::vector< int > &constrain, const std::vector< int > &fixed, const CoreOptions &options=CoreOptions())
 
CoreResult kodama::CorePLSLDA_CUDA (MatrixView x, const std::vector< int > &clbest, const std::vector< int > &constrain, const std::vector< int > &fixed, const CoreOptions &options=CoreOptions())
 
CoreResult kodama::CoreKNN_CUDA (MatrixView x, const std::vector< int > &clbest, const std::vector< int > &constrain, const std::vector< int > &fixed, const CoreOptions &options=CoreOptions())
 
CoreResult kodama::CorePLSLDA_METAL (MatrixView x, const std::vector< int > &clbest, const std::vector< int > &constrain, const std::vector< int > &fixed, const CoreOptions &options=CoreOptions())
 
CoreResult kodama::CoreKNN_METAL (MatrixView x, const std::vector< int > &clbest, const std::vector< int > &constrain, const std::vector< int > &fixed, const CoreOptions &options=CoreOptions())
 
CoreResult kodama::CoreKNNGraph_CPU (const NeighborGraph &graph, int samples, const std::vector< int > &clbest, const std::vector< int > &constrain, const std::vector< int > &fixed, const CoreOptions &options=CoreOptions())
 
CoreResult kodama::CoreKNNGraph_CUDA (const NeighborGraph &graph, int samples, const std::vector< int > &initial_clbest, const std::vector< int > &constrain=std::vector< int >(), const std::vector< int > &fixed=std::vector< int >(), const CoreOptions &options=CoreOptions())
 
CoreResult kodama::CoreKNNGraph_METAL (const NeighborGraph &graph, int samples, const std::vector< int > &initial_clbest, const std::vector< int > &constrain=std::vector< int >(), const std::vector< int > &fixed=std::vector< int >(), const CoreOptions &options=CoreOptions())
 
CoreResult kodama::Core (MatrixView x, const std::vector< int > &clbest, const std::vector< int > &constrain, const std::vector< int > &fixed, const CoreOptions &options=CoreOptions())
 
KODAMAMatrixResult kodama::KODAMAMatrix_CPU (MatrixView x, const std::vector< int > &starting_labels=std::vector< int >(), const std::vector< int > &constrain=std::vector< int >(), const std::vector< int > &fixed=std::vector< int >(), const KODAMAMatrixOptions &options=KODAMAMatrixOptions())
 
KODAMAMatrixResult kodama::KODAMAMatrix_CUDA (MatrixView x, const std::vector< int > &starting_labels=std::vector< int >(), const std::vector< int > &constrain=std::vector< int >(), const std::vector< int > &fixed=std::vector< int >(), const KODAMAMatrixOptions &options=KODAMAMatrixOptions())
 
KODAMAMatrixResult kodama::KODAMAMatrix_METAL (MatrixView x, const std::vector< int > &starting_labels=std::vector< int >(), const std::vector< int > &constrain=std::vector< int >(), const std::vector< int > &fixed=std::vector< int >(), const KODAMAMatrixOptions &options=KODAMAMatrixOptions())
 
KODAMAMatrixResult kodama::KODAMAMatrix (MatrixView x, const std::vector< int > &starting_labels=std::vector< int >(), const std::vector< int > &constrain=std::vector< int >(), const std::vector< int > &fixed=std::vector< int >(), const KODAMAMatrixOptions &options=KODAMAMatrixOptions())
 
KODAMAGraphResult kodama::KODAMAGraph_CPU (MatrixView x, const KODAMAGraphOptions &options=KODAMAGraphOptions())
 
KODAMAGraphResult kodama::KODAMAGraph_CPU (MatrixView x, MatrixView spatial, const KODAMAGraphOptions &options=KODAMAGraphOptions())
 
KODAMAGraphResult kodama::KODAMAGraph_CUDA (MatrixView x, const KODAMAGraphOptions &options=KODAMAGraphOptions())
 
KODAMAGraphResult kodama::KODAMAGraph_CUDA (MatrixView x, MatrixView spatial, const KODAMAGraphOptions &options=KODAMAGraphOptions())
 
KODAMAGraphResult kodama::KODAMAGraph_METAL (MatrixView x, const KODAMAGraphOptions &options=KODAMAGraphOptions())
 
KODAMAGraphResult kodama::KODAMAGraph_METAL (MatrixView x, MatrixView spatial, const KODAMAGraphOptions &options=KODAMAGraphOptions())
 
KODAMAGraphResult kodama::KODAMAGraph (MatrixView x, const KODAMAGraphOptions &options=KODAMAGraphOptions())
 
std::vector< float > kodama::KODAMASeparateSpatialSamples (const std::vector< float > &spatial, int rows, int columns, const std::vector< int > &samples)
 
NeighborGraph kodama::KODAMAGraphMaterialize (const KODAMAGraphResult &graph)
 
KODAMAGraphResult kodama::KODAMAGraph (MatrixView x, MatrixView spatial, const KODAMAGraphOptions &options=KODAMAGraphOptions())
 
KODAMAMatrixResult kodama::KODAMAMatrix (MatrixView x, const KODAMAGraphResult &graph, const std::vector< int > &starting_labels=std::vector< int >(), const std::vector< int > &constrain=std::vector< int >(), const std::vector< int > &fixed=std::vector< int >(), const KODAMAMatrixOptions &options=KODAMAMatrixOptions())
 
KODAMAMatrixResult kodama::KODAMAMatrix (const KODAMAGraphResult &graph, const std::vector< int > &starting_labels=std::vector< int >(), const std::vector< int > &constrain=std::vector< int >(), const std::vector< int > &fixed=std::vector< int >(), const KODAMAMatrixOptions &options=KODAMAMatrixOptions())
 
void kodama::KODAMADissimilarityInPlace (NeighborGraph &graph, const std::vector< int > &run_labels, int runs, int samples, Backend backend=Backend::CPU, int n_threads=1, int gpu_device=0)
 
std::vector< float > kodama::KODAMAGraphFeatures_CPU (const NeighborGraph &graph, int samples, const KODAMAMatrixOptions &options=KODAMAMatrixOptions())
 
KODAMAMatrixResult kodama::KODAMAMatrixFromGraph_CPU (const NeighborGraph &graph, int samples, const std::vector< int > &starting_labels=std::vector< int >(), const std::vector< int > &constrain=std::vector< int >(), const std::vector< int > &fixed=std::vector< int >(), const KODAMAMatrixOptions &options=KODAMAMatrixOptions())
 
KODAMAMatrixResult kodama::KODAMAMatrixFromGraphData_CPU (MatrixView x, const NeighborGraph &graph, const std::vector< int > &starting_labels=std::vector< int >(), const std::vector< int > &constrain=std::vector< int >(), const std::vector< int > &fixed=std::vector< int >(), const KODAMAMatrixOptions &options=KODAMAMatrixOptions())
 
KODAMAMatrixResult kodama::KODAMAMatrixFromGraphData_CUDA (MatrixView x, const NeighborGraph &graph, const std::vector< int > &starting_labels=std::vector< int >(), const std::vector< int > &constrain=std::vector< int >(), const std::vector< int > &fixed=std::vector< int >(), const KODAMAMatrixOptions &options=KODAMAMatrixOptions())
 
KODAMAMatrixResult kodama::KODAMAMatrixFromGraphData_METAL (MatrixView x, const NeighborGraph &graph, const std::vector< int > &starting_labels=std::vector< int >(), const std::vector< int > &constrain=std::vector< int >(), const std::vector< int > &fixed=std::vector< int >(), const KODAMAMatrixOptions &options=KODAMAMatrixOptions())
 
KODAMAMatrixResult kodama::KODAMAMatrixFromGraphData (MatrixView x, const NeighborGraph &graph, const std::vector< int > &starting_labels=std::vector< int >(), const std::vector< int > &constrain=std::vector< int >(), const std::vector< int > &fixed=std::vector< int >(), const KODAMAMatrixOptions &options=KODAMAMatrixOptions())
 
KODAMAMatrixResult kodama::KODAMAMatrixFromGraph_CUDA (const NeighborGraph &graph, int samples, const std::vector< int > &starting_labels=std::vector< int >(), const std::vector< int > &constrain=std::vector< int >(), const std::vector< int > &fixed=std::vector< int >(), const KODAMAMatrixOptions &options=KODAMAMatrixOptions())
 
KODAMAMatrixResult kodama::KODAMAMatrixFromGraph_METAL (const NeighborGraph &graph, int samples, const std::vector< int > &starting_labels=std::vector< int >(), const std::vector< int > &constrain=std::vector< int >(), const std::vector< int > &fixed=std::vector< int >(), const KODAMAMatrixOptions &options=KODAMAMatrixOptions())
 
KODAMAMatrixResult kodama::KODAMAMatrixFromGraph (const NeighborGraph &graph, int samples, const std::vector< int > &starting_labels=std::vector< int >(), const std::vector< int > &constrain=std::vector< int >(), const std::vector< int > &fixed=std::vector< int >(), const KODAMAMatrixOptions &options=KODAMAMatrixOptions())
 
EmbeddingResult kodama::KODAMAUMAP_CUDA (const NeighborGraph &graph, const UMAPOptions &options=UMAPOptions())
 
EmbeddingResult kodama::KODAMAUMAP_CUDA (const NeighborGraph &graph, MatrixView raw_data, const UMAPOptions &options=UMAPOptions())
 
EmbeddingResult kodama::KODAMAUMAP_CPU (const NeighborGraph &graph, const UMAPOptions &options=UMAPOptions())
 
EmbeddingResult kodama::KODAMAUMAP_METAL (const NeighborGraph &graph, const UMAPOptions &options=UMAPOptions())
 
EmbeddingResult kodama::KODAMAUMAP_METAL (const NeighborGraph &graph, MatrixView raw_data, const UMAPOptions &options=UMAPOptions())
 
EmbeddingResult kodama::KODAMAUMAP_CPU (const NeighborGraph &graph, MatrixView raw_data, const UMAPOptions &options=UMAPOptions())
 
EmbeddingResult kodama::KODAMAOpenTSNE_CUDA (const NeighborGraph &graph, const OpenTSNEOptions &options=OpenTSNEOptions())
 
EmbeddingResult kodama::KODAMAOpenTSNE_CUDA (const NeighborGraph &graph, MatrixView raw_data, const OpenTSNEOptions &options=OpenTSNEOptions())
 
EmbeddingResult kodama::KODAMAOpenTSNE_CPU (const NeighborGraph &graph, const OpenTSNEOptions &options=OpenTSNEOptions())
 
EmbeddingResult kodama::KODAMAOpenTSNE_CPU (const NeighborGraph &graph, MatrixView raw_data, const OpenTSNEOptions &options=OpenTSNEOptions())
 
EmbeddingResult kodama::KODAMAOpenTSNE_METAL (const NeighborGraph &graph, const OpenTSNEOptions &options=OpenTSNEOptions())
 
EmbeddingResult kodama::KODAMAOpenTSNE_METAL (const NeighborGraph &graph, MatrixView raw_data, const OpenTSNEOptions &options=OpenTSNEOptions())
 
VisualizationInitResult kodama::KODAMAVisualizationPCAInit (MatrixView raw_data, const VisualizationInitOptions &options=VisualizationInitOptions())
 
PCAResult kodama::PCA (MatrixView x, const PCAOptions &options=PCAOptions())
 
PCAResult kodama::PCA_CPU (MatrixView x, const PCAOptions &options=PCAOptions())
 
PCAResult kodama::PCA_CUDA (MatrixView x, const PCAOptions &options=PCAOptions())
 
PCAResult kodama::PCA_METAL (MatrixView x, const PCAOptions &options=PCAOptions())
 
PCAResult kodama::RSVD (MatrixView x, const PCAOptions &options=PCAOptions())
 
PLSFitResult kodama::PLS (MatrixView x, MatrixView y, const PLSOptions &options=PLSOptions())
 
PLSFitResult kodama::PLS_CPU (MatrixView x, MatrixView y, const PLSOptions &options=PLSOptions())
 
PLSFitResult kodama::PLS_CUDA (MatrixView x, MatrixView y, const PLSOptions &options=PLSOptions())
 
PLSFitResult kodama::PLS_METAL (MatrixView x, MatrixView y, const PLSOptions &options=PLSOptions())
 
NormalizationResult kodama::Normalization (MatrixView train, MatrixView test=MatrixView(), const NormalizationOptions &options=NormalizationOptions())
 
NormalizationResult kodama::Normalization (MatrixView train, const NormalizationOptions &options)
 
NormalizationResult kodama::Normalization_CPU (MatrixView train, MatrixView test=MatrixView(), const NormalizationOptions &options=NormalizationOptions())
 
NormalizationResult kodama::Normalization_CPU (MatrixView train, const NormalizationOptions &options)
 
NormalizationResult kodama::Normalization_CUDA (MatrixView train, MatrixView test=MatrixView(), const NormalizationOptions &options=NormalizationOptions())
 
NormalizationResult kodama::Normalization_CUDA (MatrixView train, const NormalizationOptions &options)
 
NormalizationResult kodama::Normalization_METAL (MatrixView train, MatrixView test=MatrixView(), const NormalizationOptions &options=NormalizationOptions())
 
NormalizationResult kodama::Normalization_METAL (MatrixView train, const NormalizationOptions &options)
 
ScalingResult kodama::Scaling (MatrixView train, MatrixView test=MatrixView(), const ScalingOptions &options=ScalingOptions())
 
ScalingResult kodama::Scaling (MatrixView train, const ScalingOptions &options)
 
ScalingResult kodama::Scaling_CPU (MatrixView train, MatrixView test=MatrixView(), const ScalingOptions &options=ScalingOptions())
 
ScalingResult kodama::Scaling_CPU (MatrixView train, const ScalingOptions &options)
 
ScalingResult kodama::Scaling_CUDA (MatrixView train, MatrixView test=MatrixView(), const ScalingOptions &options=ScalingOptions())
 
ScalingResult kodama::Scaling_CUDA (MatrixView train, const ScalingOptions &options)
 
ScalingResult kodama::Scaling_METAL (MatrixView train, MatrixView test=MatrixView(), const ScalingOptions &options=ScalingOptions())
 
ScalingResult kodama::Scaling_METAL (MatrixView train, const ScalingOptions &options)
 
PassingMessageResult kodama::PassingMessage (MatrixView data, MatrixView spatial, const std::vector< int > &samples={}, const PassingMessageOptions &options=PassingMessageOptions())
 
PassingMessageResult kodama::PassingMessage_CPU (MatrixView data, MatrixView spatial, const std::vector< int > &samples={}, const PassingMessageOptions &options=PassingMessageOptions())
 
PassingMessageResult kodama::PassingMessage_CUDA (MatrixView data, MatrixView spatial, const std::vector< int > &samples={}, const PassingMessageOptions &options=PassingMessageOptions())
 
PassingMessageResult kodama::PassingMessage_METAL (MatrixView data, MatrixView spatial, const std::vector< int > &samples={}, const PassingMessageOptions &options=PassingMessageOptions())
 
SpatialFeatureResult kodama::SpatialFeatureSelection (MatrixView data, MatrixView spatial, const std::vector< int > &samples={}, const SpatialFeatureOptions &options=SpatialFeatureOptions())
 
SpatialFeatureResult kodama::SpatialFeatureSelection_CPU (MatrixView data, MatrixView spatial, const std::vector< int > &samples={}, const SpatialFeatureOptions &options=SpatialFeatureOptions())
 
NeighborGraph kodama::KODAMAKNNGraph_CPU (MatrixView x, const GraphClusterOptions &options=GraphClusterOptions())
 
NeighborGraph kodama::KODAMAKNNGraph_CUDA (MatrixView x, const GraphClusterOptions &options=GraphClusterOptions())
 
NeighborGraph kodama::KODAMAKNNGraph_METAL (MatrixView x, const GraphClusterOptions &options=GraphClusterOptions())
 
NeighborGraph kodama::KODAMAKNNGraph (MatrixView x, const GraphClusterOptions &options=GraphClusterOptions())
 
ResidentIVFIndex kodama::BuildResidentIVFIndex (MatrixView train, const KNNOptions &options=KNNOptions())
 
NeighborGraph kodama::SearchResidentIVFIndex (const ResidentIVFIndex &index, MatrixView query, int k, ResidentIVFSearchStats *stats=nullptr)
 
NeighborGraph kodama::SearchResidentIVFIndexSelf (const ResidentIVFIndex &index, int k, bool exclude_self=true, ResidentIVFSearchStats *stats=nullptr)
 
GraphClusterResult kodama::KODAMAGraphCluster_CPU (const NeighborGraph &graph, int samples, const GraphClusterOptions &options=GraphClusterOptions())
 
GraphClusterResult kodama::KODAMAGraphCluster (const NeighborGraph &graph, int samples, const GraphClusterOptions &options=GraphClusterOptions())
 
GraphClusterResult kodama::KODAMAEmbeddingGraphCluster (MatrixView embedding, const NeighborGraph &graph, const GraphClusterOptions &options=GraphClusterOptions())
 
GraphClusterResult kodama::KODAMAEmbeddingCluster (MatrixView embedding, const GraphClusterOptions &options=GraphClusterOptions())
 
const char * kodama::to_string (Backend backend)
 
const char * kodama::to_string (DistanceMetric metric)
 
const char * kodama::to_string (KNNIndexType index_type)
 
const char * kodama::to_string (PLSMode mode)
 
const char * kodama::to_string (CoreClassifier classifier)
 
const char * kodama::to_string (GraphWeightType weight_type)
 
const char * kodama::to_string (GraphFeatureMode mode)
 
bool kodama::MetalAvailable ()