Download Agent/Table/TableBase.cs from ewdlop/AIMA-CSharp: direct link, hf CLI and curl.
- Browser
- Download file 643 Bytes
-
https://huggingface.co/ewdlop/AIMA-CSharp/resolve/refs%2Fpr%2F1/Agent/Table/TableBase.cs
- Command line
-
hf download hf://ewdlop/AIMA-CSharp@refs/pr/1/Agent/Table/TableBase.cs
-
curl -L -o TableBase.cs https://huggingface.co/ewdlop/AIMA-CSharp/resolve/refs%2Fpr%2F1/Agent/Table/TableBase.cs
643 Bytes
| using System.Collections.Generic; | |
| namespace AIMA.Agent.Table | |
| { | |
| public abstract record TableBase<RowHeaderType, ColumnHeaderType, ValueType>(List<RowHeaderType> RowHeaders, | |
| List<ColumnHeaderType> ColumnHeaders, Dictionary<RowHeaderType, Dictionary<ColumnHeaderType, ValueType>> Rows) | |
| : ITable<RowHeaderType, ColumnHeaderType, ValueType> where ValueType : struct | |
| { | |
| public virtual ValueType Get(RowHeaderType r, ColumnHeaderType c) | |
| { | |
| return default; | |
| } | |
| public virtual void Set(RowHeaderType r, ColumnHeaderType c, ValueType v) | |
| { | |
| } | |
| } | |
| } | |