-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from DevSide/bump-tensorflow-and-typescript
Tensorflow 1.2.1 and Typescript 3.5.2
- Loading branch information
Showing
52 changed files
with
4,639 additions
and
3,777 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,163 @@ | ||
> ## [ReImproveJS](../README.md) | ||
[Globals](../globals.md) / [AbstractAgent](abstractagent.md) / | ||
|
||
# Class: AbstractAgent | ||
|
||
## Hierarchy | ||
|
||
* **AbstractAgent** | ||
|
||
* [DQAgent](dqagent.md) | ||
|
||
* [QAgent](qagent.md) | ||
|
||
### Index | ||
|
||
#### Constructors | ||
|
||
* [constructor](abstractagent.md#protected-constructor) | ||
|
||
#### Properties | ||
|
||
* [agentConfig](abstractagent.md#protected-agentconfig) | ||
* [name](abstractagent.md#private-optional-name) | ||
|
||
#### Accessors | ||
|
||
* [AgentConfig](abstractagent.md#agentconfig) | ||
* [Name](abstractagent.md#name) | ||
|
||
#### Methods | ||
|
||
* [getTrackingInformation](abstractagent.md#abstract-gettrackinginformation) | ||
* [infer](abstractagent.md#abstract-infer) | ||
* [reset](abstractagent.md#abstract-reset) | ||
* [setAgentConfig](abstractagent.md#protected-setagentconfig) | ||
|
||
## Constructors | ||
|
||
### `Protected` constructor | ||
|
||
\ **new AbstractAgent**(`agentConfig?`: [AgentConfig](../interfaces/agentconfig.md), `name?`: string): *[AbstractAgent](abstractagent.md)* | ||
|
||
*Defined in [reimprove/algorithms/abstract_agent.ts:10](https://github.com/DevSide/ReImproveJS/blob/2368b25/src/reimprove/algorithms/abstract_agent.ts#L10)* | ||
|
||
**Parameters:** | ||
|
||
Name | Type | | ||
------ | ------ | | ||
`agentConfig?` | [AgentConfig](../interfaces/agentconfig.md) | | ||
`name?` | string | | ||
|
||
**Returns:** *[AbstractAgent](abstractagent.md)* | ||
|
||
___ | ||
|
||
## Properties | ||
|
||
### `Protected` agentConfig | ||
|
||
● **agentConfig**: *[AgentConfig](../interfaces/agentconfig.md)* | ||
|
||
*Defined in [reimprove/algorithms/abstract_agent.ts:10](https://github.com/DevSide/ReImproveJS/blob/2368b25/src/reimprove/algorithms/abstract_agent.ts#L10)* | ||
|
||
___ | ||
|
||
### `Private` `Optional` name | ||
|
||
● **name**? : *string* | ||
|
||
*Defined in [reimprove/algorithms/abstract_agent.ts:12](https://github.com/DevSide/ReImproveJS/blob/2368b25/src/reimprove/algorithms/abstract_agent.ts#L12)* | ||
|
||
___ | ||
|
||
## Accessors | ||
|
||
### AgentConfig | ||
|
||
● **get AgentConfig**(): *[AgentConfig](../interfaces/agentconfig.md)* | ||
|
||
*Defined in [reimprove/algorithms/abstract_agent.ts:16](https://github.com/DevSide/ReImproveJS/blob/2368b25/src/reimprove/algorithms/abstract_agent.ts#L16)* | ||
|
||
**Returns:** *[AgentConfig](../interfaces/agentconfig.md)* | ||
|
||
___ | ||
|
||
### Name | ||
|
||
● **get Name**(): *string* | ||
|
||
*Defined in [reimprove/algorithms/abstract_agent.ts:19](https://github.com/DevSide/ReImproveJS/blob/2368b25/src/reimprove/algorithms/abstract_agent.ts#L19)* | ||
|
||
**Returns:** *string* | ||
|
||
● **set Name**(`name`: string): *void* | ||
|
||
*Defined in [reimprove/algorithms/abstract_agent.ts:20](https://github.com/DevSide/ReImproveJS/blob/2368b25/src/reimprove/algorithms/abstract_agent.ts#L20)* | ||
|
||
**Parameters:** | ||
|
||
Name | Type | | ||
------ | ------ | | ||
`name` | string | | ||
|
||
**Returns:** *void* | ||
|
||
___ | ||
|
||
## Methods | ||
|
||
### `Abstract` getTrackingInformation | ||
|
||
▸ **getTrackingInformation**(): *[AgentTrackingInformation](../interfaces/agenttrackinginformation.md)* | ||
|
||
*Defined in [reimprove/algorithms/abstract_agent.ts:22](https://github.com/DevSide/ReImproveJS/blob/2368b25/src/reimprove/algorithms/abstract_agent.ts#L22)* | ||
|
||
**Returns:** *[AgentTrackingInformation](../interfaces/agenttrackinginformation.md)* | ||
|
||
___ | ||
|
||
### `Abstract` infer | ||
|
||
▸ **infer**(`input`: number[] | number[][] | [QAction](qaction.md), `epsilon?`: number, `keepTensors?`: boolean): *number | [QTransition](qtransition.md)* | ||
|
||
*Defined in [reimprove/algorithms/abstract_agent.ts:26](https://github.com/DevSide/ReImproveJS/blob/2368b25/src/reimprove/algorithms/abstract_agent.ts#L26)* | ||
|
||
**Parameters:** | ||
|
||
Name | Type | | ||
------ | ------ | | ||
`input` | number[] \| number[][] \| [QAction](qaction.md) | | ||
`epsilon?` | number | | ||
`keepTensors?` | boolean | | ||
|
||
**Returns:** *number | [QTransition](qtransition.md)* | ||
|
||
___ | ||
|
||
### `Abstract` reset | ||
|
||
▸ **reset**(): *void* | ||
|
||
*Defined in [reimprove/algorithms/abstract_agent.ts:23](https://github.com/DevSide/ReImproveJS/blob/2368b25/src/reimprove/algorithms/abstract_agent.ts#L23)* | ||
|
||
**Returns:** *void* | ||
|
||
___ | ||
|
||
### `Protected` setAgentConfig | ||
|
||
▸ **setAgentConfig**(`config`: [AgentConfig](../interfaces/agentconfig.md)): *void* | ||
|
||
*Defined in [reimprove/algorithms/abstract_agent.ts:17](https://github.com/DevSide/ReImproveJS/blob/2368b25/src/reimprove/algorithms/abstract_agent.ts#L17)* | ||
|
||
**Parameters:** | ||
|
||
Name | Type | | ||
------ | ------ | | ||
`config` | [AgentConfig](../interfaces/agentconfig.md) | | ||
|
||
**Returns:** *void* | ||
|
||
___ |
Oops, something went wrong.