Documentation
¶
Index ¶
- Constants
- Variables
- func Index(i int) string
- type AIPlanVector_int
- func (es *AIPlanVector_int) Add(e aiplan.AIPlan, v int)
- func (es *AIPlanVector_int) Dec(e aiplan.AIPlan)
- func (es AIPlanVector_int) Get(e aiplan.AIPlan) int
- func (es *AIPlanVector_int) Inc(e aiplan.AIPlan)
- func (es AIPlanVector_int) Iter(fn func(i aiplan.AIPlan, v int) bool) bool
- func (es *AIPlanVector_int) SetIfGt(e aiplan.AIPlan, v int)
- func (es AIPlanVector_int) String() string
- func (es *AIPlanVector_int) ToWeb(w http.ResponseWriter, r *http.Request) error
- func (es AIPlanVector_int) VectorAdd(arg AIPlanVector_int) AIPlanVector_int
- func (es AIPlanVector_int) VectorSub(arg AIPlanVector_int) AIPlanVector_int
Constants ¶
View Source
const ( HTML_tableheader = `<tr> <th>Name</th> <th>Value</th> </tr>` HTML_row = `<tr> <td>{{AIPlanIndex $i}}</td> <td>{{$v}}</td> </tr> ` )
Variables ¶
View Source
var IndexFn = template.FuncMap{ "AIPlanIndex": Index, }
Functions ¶
Types ¶
type AIPlanVector_int ¶
type AIPlanVector_int [aiplan.AIPlan_Count]int
func (*AIPlanVector_int) Dec ¶
func (es *AIPlanVector_int) Dec(e aiplan.AIPlan)
func (*AIPlanVector_int) Inc ¶
func (es *AIPlanVector_int) Inc(e aiplan.AIPlan)
func (AIPlanVector_int) Iter ¶
Iter return true if iter stop, return false if iter all fn return true to stop iter
func (AIPlanVector_int) String ¶
func (es AIPlanVector_int) String() string
func (*AIPlanVector_int) ToWeb ¶
func (es *AIPlanVector_int) ToWeb(w http.ResponseWriter, r *http.Request) error
func (AIPlanVector_int) VectorAdd ¶
func (es AIPlanVector_int) VectorAdd(arg AIPlanVector_int) AIPlanVector_int
VectorAdd add element to element
func (AIPlanVector_int) VectorSub ¶
func (es AIPlanVector_int) VectorSub(arg AIPlanVector_int) AIPlanVector_int
VectorSub sub element to element
Click to show internal directories.
Click to hide internal directories.