Sha256: ed4935a1dcd29b4332eae9e2f5fde838a4059d50e3bc6e8af7ade3db8d778db5

Contents?: true

Size: 488 Bytes

Versions: 6507

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,507 entries across 6,498 versions & 28 rubygems

Version Path
mux_ruby-3.20.0 vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_bank_ruby-0.123.12 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_organization_ruby-0.123.12 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_id_ruby-0.123.12 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_bank_ruby-0.123.11 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_organization_ruby-0.123.11 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_id_ruby-0.123.11 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_id_ruby-0.123.10 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_bank_ruby-0.123.10 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_organization_ruby-0.123.10 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_organization_ruby-0.123.7 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_id_ruby-0.123.7 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_bank_ruby-0.123.7 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
ory-client-1.15.12 vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_bank_ruby-0.123.4 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_id_ruby-0.123.4 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_organization_ruby-0.123.4 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_bank_ruby-0.123.3 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_organization_ruby-0.123.3 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h
cybrid_api_id_ruby-0.123.3 vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h