JuliaPOMDP / JuliaPOMDP/POMDPFiles.jl

Move away from `Base.write(::IO, ::POMDP)`

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
6
Forks
6
PR merge metrics
No merged PRs in 30d

Description

I don't think specializing `Base.write` for `POMDP` is the correct way to implement the functionality in this package.

[The docstring for `write`](https://docs.julialang.org/en/v1/base/io-network/#Base.write) says "Write the canonical binary representation of a value to the given I/O stream or file." I don't think the pomdp file format is the canonical binary representation they are thinking of based on the rest of that documentation (it talks about endianness). `Base.print` may be more appropriate, but still probably not what we want.

I think we should look at how DataFrames are written to csv files or how excel files are read in for some inspiration. Or maybe if there is a package that saves neural networks to bson?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.