abstract class Ai4cr::Utils::IoData::Abstract

Direct Known Subclasses

Defined in:

ai4cr/utils/io_data/abstract.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(file_path : String, file_content_type : FileType, prefix_raw_qty : Int32 = 0, prefix_raw_char : String = " ", default_to_bit_size : Int32 = 0) #

[View source]

Class Method Detail

def self.convert_iod_to_raw(iod, default_to_bit_size = 0) : String #

[View source]
def self.convert_raw_to_iod(raw, default_to_bit_size = 0) : Array(Array(Float64)) #

[View source]

Instance Method Detail

def default_to_bit_size : Int32 #

TODO Replace(?)/Supplement(?) below with actual UTF-to-ASCII conversion! (And ASCII-to-UTF reversion)


[View source]
def default_to_bit_size=(default_to_bit_size : Int32) #

TODO Replace(?)/Supplement(?) below with actual UTF-to-ASCII conversion! (And ASCII-to-UTF reversion)


[View source]
def file_path : String #

[View source]
def file_path=(file_path : String) #

[View source]
def iod : Array(Array(Float64)) #

[View source]
def iod=(iod : Array(Array(Float64))) #

[View source]
def iod_certainty(iod_guessed) #

[View source]
def iod_certainty_per_guess(iod_guessed) : Array(Float64) #

[View source]
def iod_to_io_set_with_offset(offset : Int32) #

[View source]
def iod_to_io_set_with_offset_time_cols(time_cols : Int32, offset : Int32) #

[View source]
def iod_uncertainty(iod_guessed) #

[View source]
def iod_uncertainty_per_guess(iod_guessed) : Array(Float64) #

[View source]
def prefix_raw_char : String #

[View source]
def prefix_raw_char=(prefix_raw_char : String) #

[View source]
def prefix_raw_qty : Int32 #

[View source]
def prefix_raw_qty=(prefix_raw_qty : Int32) #

[View source]
def raw : String #

[View source]
def raw=(raw : String) #

[View source]
def save_iod(to_file_path : String) #

[View source]
def save_raw(to_file_path : String) #

[View source]