Sha256: ed4935a1dcd29b4332eae9e2f5fde838a4059d50e3bc6e8af7ade3db8d778db5

Contents?: true

Size: 488 Bytes

Versions: 6508

Compression:

Stored size: 488 Bytes

Contents

#pragma once

#include "stdint.h"

#define ADJ_MATRIX_DEFAULT_LENGTH 958
#define ADJ_MATRIX_SEED 9527

typedef struct _node {
  struct _node *next;
  uint64_t x, y;
} Node;

typedef struct {
  Node ***table;
  uint32_t length;
} AdjMatrix;

AdjMatrix *adj_matrix_new(uint32_t length);
void adj_matrix_add(AdjMatrix *matrix, uint64_t x, uint64_t y);
char adj_matrix_find(AdjMatrix *matrix, uint64_t x, uint64_t y);
void adj_matrix_free(AdjMatrix *matrix);
AdjMatrix *adj_matrix_default();

Version data entries

6,508 entries across 6,499 versions & 28 rubygems

Version Path
cybrid_api_organization_ruby-0.122.67 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_id_ruby-0.122.67 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_bank_ruby-0.122.66 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_organization_ruby-0.122.66 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_id_ruby-0.122.66 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_id_ruby-0.122.65 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_bank_ruby-0.122.65 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_organization_ruby-0.122.65 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_bank_ruby-0.122.64 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_id_ruby-0.122.64 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_organization_ruby-0.122.64 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_id_ruby-0.122.60 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_bank_ruby-0.122.60 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_organization_ruby-0.122.60 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_organization_ruby-0.122.59 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_bank_ruby-0.122.59 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_id_ruby-0.122.59 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_bank_ruby-0.122.58 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_organization_ruby-0.122.58 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_id_ruby-0.122.58 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h