Project structure of: jiaxiaogang/he4o
he4o AI-Secure App with Dev/Debug Tools
Podfile OS Podfile with PINCache, Umeng analytics
README.md AI system, spiral entropy, neural networks training.
SMG_NothingIsAll AI-driven app with secure iOS features.
AIFoundation Customizable AI SMG optimization foundation
AIAlg AI-driven, asynchronous, urgency calculation algorithms.
AICustomAlgs.h Customizable AI algorithms in AICustomAlgs.h
AICustomAlgs.m Asynchronous custom input data committing in AICustomAlgs.
AIImvAlgs.h Map input mindValue between value domains.
AIImvAlgs.m Imports model, calculates urgency values for bad and good input types.
AIStringAlgs.h String algorithm interface header for AIFoundation
AIStringAlgs.m AIStringAlgs: Asynchronous input processing, string length returns.
AlgsModel AI-driven algorithm models directory
CustomAlgsModel Custom charging model algorithms directory
ImvAlgsModel AI-powered IMV algorithm modeling class directories
AIClass AI class registration prevents multiple actions.
AINoRepeatRun.h Prevent multiple AI action executions with AINoRepeatRun class.
AINoRepeatRun.m Register, execute once with key prevention.
AITime AI runtime time, conscious time, and timer methods.
AITime.h AITime: AI runtime time, conscious time, and time trigger methods.
AITime.m Updated SMG timer code with bug fixes and precise GCD execution.
Model AI class map models for two values, with methods and no arrays.
Utils Data manipulation and string utilities.
- AIHeader.h: SMG_NothingIsAll imports, defines, utilities, logging.
AIInput Simultaneous camera, audio, text & custom inputs collection
AINet Efficient AI network foundation.
AIAbsCMVManager Manages abstraction-free CMV functions.
AIAbsFoManager Manages absolute foundational fo abstractions
AIAlgNodeManager Manages abstract AI algorithms and connections efficiently.
AICerebel AICerebel class for SMG project, header and implementation.
AILine.h AILine: Neural network line with pointers.
AILine.m Create AILine instances with AIObjects and pointers.
AIMvFoManager AIMvFoManager: Manages foNode-cmvNode models, MV nodes, builds conFos.
AINet.h AINet: Network operations, indexing, model conversion, data packaging.
AINet.m Singleton class with dictionary-based model conversion and unique algorithm nodes.
AINetIndex AINetIndex: Efficient indexing and searching.
AINetUtils.h AI framework utilities: ports, connections, algorithms, dictionaries.
AINetUtils.m Manages AI components, updates strength values and performs analogy.
AINode AI-powered duplicate removal nodes, organized AINet.
AIAbsAlgNode.h AIAbsAlgNode: Remove duplicates, supports values_p.
AIAbsAlgNode.m AIAbsAlgNode class implementation by jia.
AIAbsCMVNode.h Abstract node class for AINet project
AIAbsCMVNode.m Empty implementation for AIAbsCMVNode class
AIAlgNode.h AIAlgNode class header file
AIAlgNode.m AIAlgNode class, SMG_NothingIsAll project, 12/7/2018, XiaoGang
AIAlgNodeBase.h Base class for algorithm nodes with port and dictionary properties.
AIAlgNodeBase.m Machine learning tool for pattern recognition, with bug fixes and performance improvements.
AICMVNode.h Defines AICMVNode class for SMG_NothingIsAll project.
AICMVNode.m AICMVNode class implementation for CMV nodes.
AICMVNodeBase.h AICMVNodeBase: subclass of AIAlgNodeBase with urgentTo_p, delta_p, and foPorts.
AICMVNodeBase.m Class for CMVNode initialization, encoding, and decoding.
AIFoNodeBase.h Time-series node base class with deltaTimes, strength value storage, and candidate set management.
AIFoNodeBase.m Initializes arrays, updates SP strength, handles bug 29094.
AIFrontOrderNode.h AIFrontOrderNode: Concrete sequence node, AIFoNodeBase inheritance.
AIFrontOrderNode.m Declares and implements AIFrontOrderNode class.
AINetAbsFoNode.h Abstract sequential network node class definition.
AINetAbsFoNode.m AINetAbsFoNode class implementation
AINodeBase.h AINodeBase class: Base for nodes, pointers, ports, data flow organization.
AINodeBase.m AINodeBase: Manages ports and arrays, implements NSCoding.
AIPointer AINet AIPointer: Binary searchable, NSCoding/NSCopying KV class for database management.
AIPort AIPort class, subclasses, NSCoding support.
AIOutput AI models for SMG Nothing Is All project, utilities for data conversion
AIReactorControl AIReactorControl: Manages AI reactor, data & emotions.
AIThinkingControl AI-powered optimization and analysis.
AIThinkingControl.h AI Thinking Control Class: Properties, Methods, Energy
AIThinkingControl.m Controls AI input data processing and energy levels.
In AI-enhanced thinking and control utilities.
Model AI-enhanced time series recognition and memory control.
TIUtils.h Utility functions for AI concept and temporal recognition.
TIUtils.m AI optimization, bug fixes, and logging improvements
Out AI control, decision-making, task optimization, model utilities.
Model AI models for decision-making and task optimization, base class with NSCoding protocol for model objects.
ISubDemandDelegate.h ISubDemandDelegate: Protocol for managing child tasks
ISubModelsDelegate.h Submodel Delegate Protocol for SMG Project
ITryActionFoDelegate.h ITryActionFoDelegate: Attach R, P, HN, and GL tasks, actionFoModels array.
TOAlgModel.h AI model class for decision-making, inherits TOModelBase, updates feedbackAlg.
TOAlgModel.m Defines class for storing models and demands, conforming to NSCoding.
TOFoModel.h TOFoModel: Time-sequence AI model for SMG_NothingIsAll
TOFoModel.m TOFoModel: Initializes class, calculates scores and updates dictionaries.
TOModelBase.h TOModelBase: Base NSObject, NSCoding, decision-making optimized class.
TOModelBase.m Base class with NSCoding protocol for model objects
TOUtils.h TOUtils: Concept, search, abstract, match utilities for "SMG_NothingIsAll."
TOUtils.m TOUtils: Demands, tasks, sub-models utilities.
README.md AI architecture improvements and restructuring code layout.
TCAction TCAction: TOFoModel class methods and spiral architecture implementation
TCActYes TCActYes: Objective-C and Swift classes for ActYes prediction and analysis.
TCActYes.h TCActYes: Objective-C class with input model methods and frameActYes.
TCActYes.m Swift class for ActYes prediction, demand updates, and analysis.
TCCanset Automating text analysis with sceneModel conversions.
TCDemand Energy modeling for decision loop updates
Model TC Demand Model: Forecasts user needs with data, methods.
DemandManager.h Manages P&R tasks, updates CMV cache in SMG_NothingIsAll.
DemandManager.m DemandManager: Manages, calculates, sorts, selects, logs & clears demands.
DemandModel.h Demand Model: TOModelBase extension with time decay, candidate sets.
DemandModel.m Demand model class for SMG_NothingIsAll with NSCoder support
HDemandModel.h HDemandModel: Updated, Redundancy Discarded, New Feedback Field Added
HDemandModel.m HDemandModel: newWithAlgModel method returns initialized instance.
PerceptDemandModel.h Percept Demand Model class inheritance
PerceptDemandModel.m Header file for PerceptDemandModel in SMG_NothingIsAll project.
ReasonDemandModel.h ReasonDemandModel: Predict next move based on current state.
ReasonDemandModel.m ReasonDemandModel: Initialization, Data Preparation, Methods, NSCoding
TCDemand.h TCDemand: Task Class for Demand Formation
TCDemand.m Update energy values, demand pool, and decision loop in AIThinkingControl module.
TCEffect Manages TC efficiency, updates task status and triggers timers.
TCEffect.h Records Demand solution efficiency in TCEffect class.
TCEffect.m Updates task efficiency, triggers timers, and handles status for action index in cansets.
TCFeedback Manages memory, task recognition and improved feedback for short-match models.
TCForecast SMG Project: Two forecast methods, improved thinking control.
TCInput AI Control for SMG_NothingIsAll Input Management
TCInput.h Input methods for SMG_NothingIsAll AI system in TCInput header file.
TCInput.m TCInput: AI control for SMG_NothingIsAll, manages updates and triggers.
TCLearning AI-enhanced abstract concept learning for decision-making.
TCOut TCOut: AI model output processing with TCResult from TOAlgModel.
TCOut.h TCResult from TOAlgModel using TCOut class.
TCOut.m Output processing for AI model. Status updates and HDemand checks.
TCPlan Optimal AI planning, TCResult, and rootDemand.
TCRealact TCRealact: Imports Foundation, checks real-act for optimal results
TCRealact.h TCRealact: Imports Foundation, checks real-act for best result in AICanSetModel.
TCRealact.m Replaces empty concepts with specific ones, outputs best solution.
TCRecognition AI-driven sequence optimization and recognition.
TCRefrection TCRefrection: Reflection-based AIThinkingControl methods
TCRegroup Regroups short-term memory models, processes CMV nodes.
TCRethink Updating ML reasoning through AI frames and abstract representation.
TCScene Scene tree generation for efficient retrieval.
TCScore Calculate comprehensive scores for strategies, considering TC and TOQueue.
TCScore.h Calculate comprehensive score using TC and TOQueue.
TCScore.m Calculates comprehensive scores for solution models, evaluating and ranking strategies.
TCSolution Handles demand, checks validity, prioritizes fast thinking.
TCSolution.h TCSolution: Solution Class, TOModelBase Input, EndScore Required
TCSolution.m TC Solution: Handles demand, checks validity, prioritizes fast thinking.
Util AI-powered fast & slow thinking solutions for facial recognition optimization.
TCTransfer AITransferModel: Handles AI scene-to-scene data transfer
Util AI-powered optimization and evaluation.
ReadMe.h ReadMe.h: Project instructions, tasks, future suggestions
SMGConfig.h SMGConfig.h: SMG_NothingIsAll config settings
SMGEnum.h SMG Enum: AI, Charging, Signals, Targets
AppDelegate.h AppDelegate: UIResponder subclass, adopts UIApplicationDelegate.
AppDelegate.m Initializes AppDelegate, manages UI, Umeng integration.
Base.lproj
CortexAlgorithms Brain signal processing algorithms for SMG.
Demo AI demos highlighting customization
Adapter AI battery-hunger monitoring adapter.
BirdGrowPage BirdGrowPage: Managing bird life.
BirdLivePage Live bird tracking with food notifications
BirdLivePage.h BirdLivePage.h: HEViewController subclass, 2018.
BirdLivePage.m BirdLivePage: Bird, Road, Tree Views with Food Retrieval
Model Bird position, time tracking models for game objects.
View Interactive bird tracking UI, delegate and observer pattern, tree management, food notifications, WoodView.
BirdView.h BirdView: UIView, page view delegate, hit food tracking.
BirdView.m Manages bird actions, animations, and interactions. Observer pattern for notifications.
CarView.h CarView class for car functionality and food data retrieval.
CarView.m Initializes CarView, sets animation, iterates foods array.
FoodView.h FoodView: Food Status, Hit Handler
FoodView.m Initializes FoodView with border appearance and hit response.
LightView.h Header for LightView class inheriting HEView, defines delegate & properties.
LightView.m Manages green/red light display in iOS with timer and delegate.
RoadView.h RoadView: HEView-derived, food access via roadView_GetFoodInLoad.
RoadView.m Initializes RoadView, sets properties, conforms to protocols, displays refresh and food retrieval.
TreeView.h TreeView header file, inherits HEView, copyrighted.
TreeView.m TreeView setup, NSTreeController management, food notifications.
WoodView.h WoodView header: ThrowTime constant, WoodViewDelegate protocol, reset, throwV5.
WoodView.m WoodView: view management, animation, collision detection.
Extension Customizable UILabel extension with borders, shadows, and logs.
BorderLabel.h Customizable border UILabel class header
BorderLabel.m Custom UILabel with border and shadow
HEView.h Uniquely tagged view with initTime property.
HEView.m HEView: Initializes, tags, stores time
HEViewController.h HEViewController: UIViewController subclass with init methods for view, data, and display.
HEViewController.m Initializes views and data on viewDidLoad, status bar always visible, back button to main page.
MathUtils.h MathUtils: Utilities for data range, rect ops & cooling calculations
MathUtils.m MathUtils: Transform, CGRect manipulation & temperature adjustment
MBProgressHUD+Add.h MBProgressHUD extension with customizable error/success messages.
MBProgressHUD+Add.m Customizable HUD notifications with icons
NSFile+Extension.h Gather subfiles, folders in given path.
NSFile+Extension.m Retrieves files, filters by directory types.
NSLog+Extension.h NSLog extension for detailed logging.
NSLog+Extension.m Converts enums to strings and extends NSLog with 3 methods.
RuntimeInvoker.h Invoker: Runtime selector invocation for NSObject and NSString categories.
RuntimeInvoker.m Invocation handler for NSObject methods
UIColor+expanded.h RGB manipulation, luminance mapping, color representation extension.
UIColor+expanded.m Extended UIColor manipulation with darkening, conversions, and more.
UIView+Extension.h UIView extension for size, position, subviews, superview ops.
UIView+Extension.m UIView extension for simple frame manipulation & subview operations.
XGDelegate.h XGDelegate.h: Alternative block syntax with varying parameters and return types.
Foundation+Log.m Improved log string readability for NSArray description method.
MainPage MainPage: Header, implementation with views and data.
- Universal iOS app precompiled header file.
TestHungryPage Empty header with UI and battery/hunger state testing.
Extension Thread-safe, concurrent collections management and extension methods for object properties encryption.
Info.plist OS app Info.plist properties
main.m SMG_NothingIsAll iOS app main entry, UIKit import.
Test Test AI vision exception handling and critical backtesting module.
AITest.h Unit testing class AITest with 29 functions, critical backtesting module.
AITest.m Test AI vision exception handling and type correctness.
ThirdParty Extensive customizable tools for dev/debug efficiency.
MemManager Efficient UIView memory management.
RLTrainer RLTrainer: Third-party tool for model training, demo automation, and reinforcement learning.
Model Model directory for third-party RLTrainer library.
RTModel.h RTModel: RTModel class header with register, queue, invoke, clear functions.
RTModel.m RTModel: Queue management, pause, register, report, invoke.
RTQueueModel.h RTQueueModel: Foundation subclass, name & arg0 properties, create method.
RTQueueModel.m RTQueueModel: Class, newWithName:arg0: Initializer
README.md Reinforcement learning trainer for demo automation and stability.
RLTrainer.h RLTrainer: Reinforcement learning, game selectors, actions, trainer class, pause commands.
RLTrainer.m Singleton manages panels, queues, and training processes.
View RLTrainer's dynamic UI for reinforcement learning games
RLTPanel.h RLTrainer's RLTPanel header file. Reinforcement learning UI panel with delegate support.
RLTPanel.m Trains AI for 300-round game with dynamic UI and updates.
SMGNetVision Third-party SMGNetVision library for neural network visualization.
Core Network visualization core components.
Model SMGNetVision: Compare nodes for model formation and validation.
NVViewUtil.h Utility functions for 2D line and point operations.
NVViewUtil.m Checks line data, calculates Euclidean distance and angles in NVViewUtil.
Util SMGNetVision Core Utilities Directory
View Network visualization UI components directory.
HE Custom UIView class for graph/network visualization
NVConfig.h NVConfig: Node, Module, Notification constants.
- SMGNetVision header: includes, defines DirectionType.
ReadMe.md SMGNetVision: Neural network visualization tool, improved UI and performance.
TCDebug Advanced TC debugging library for iOS apps performance analysis.
TOModelVision Visualizing TOModelBase memory models
TOMVision2 TOMVision2 third-party customizable panel resources.
Line TOMVision2: Customizable tree growth timeline UIView library
Model TOMVisionItemModel: TOModel data class with NSCoding protocol.
Panel Customizable TOMVision2 Panel for video control and settings
README.md TOMVision2: Visualizing & Animating Multiple Frames of Working Memory Trees.
TOMVision2.h TOMVision2 UIView class definition with methods for frame updates and network control.
TOMVision2.m TOMVision2: View size, focus, events management.
Util TOMVision2 Utilities: TVUtil for model updates and operations.
TVUtil.h TVUtil.h: Header file with TVUtil class for TOMVisionItemModel updates and operations.
TVUtil.m TVUtil: Count diffs, dict changes, indices, rect area checks. Objective-C offsets, formats.
View UI components & scaling in TOMVision2 View
TOMVisionAlgView.h TOMVisionAlgView: TOMVisionNodeBase subclass header file.
TOMVisionAlgView.m TOMVisionAlgView: Overrides initView, refreshDisplay, getNodeDesc.
TOMVisionDemandView.h TOMVisionDemandView: Class in SMG_NothingIsAll project.
TOMVisionDemandView.m Initializes view, updates display based on data, retrieves matchFo.
TOMVisionFoView.h TOMVisionFoView: TOMVisionNodeBase subclass header file, created 3/15/2022 by jia.
TOMVisionFoView.m Initializes view, calculates sum, updates UI text.
TOMVisionNodeBase.h TOMVisionNodeBase: UIView subclass with props & methods for node display, refresh, compare, and scaling.
TOMVisionNodeBase.m Initializes and configures TOMVisionNodeBase with subviews and resizing methods.
XGConfig Real-time config management for HE system, singleton, defaults, directories, config changes.
XGDebug XGDebug: Performance Debugging Tools & Custom UIView
XGLog Third-party log utility and UI tool directory.
- XiaoGang's SMG_NothingIsAll project header file.
HeLogModel.h HeLogModel: XGWedis log model with add, retrieve, clear capabilities.
HeLogModel.m HeLogModel: Initializes, sets timer, methods, MD5 hashing, disk saving.
HeLogUtil.h Logging utility class for filtering, generating data identifiers, and calculating MD5 values.
HeLogUtil.m Filter, find identifiers and MD5 hashes in timestamps.
HeLogView.h HeLogView: UIView class for log management and display.
HeLogView.m HeLogView: Display, Filter, Manage Logs
README.md HELog: Logging tool, UI display, filtering, PINCache/MASConstraint dependencies
XGRedis Redis optimization and utilities with Objective-C binary search
XGWedis Asynchronous, interval support, Redis command handler, thread management, dictionary saving.
README.md Asynchronous write function with interval support in XGWedis.
XGWedis.h Asynchronous persistence with saveBlock customization. Deprecated delegates, observers.
XGWedis.m XGWedis: Redis command handler, thread management, dictionary saving.